Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not Find DumpAsJson() method #173

Closed
defyjoy opened this issue Sep 16, 2018 · 1 comment
Closed

Could not Find DumpAsJson() method #173

defyjoy opened this issue Sep 16, 2018 · 1 comment

Comments

@defyjoy
Copy link

defyjoy commented Sep 16, 2018

HI I am not able to find DumpAsJson() or Dump() . Where is that located . The documentation lack for this functionality

@bchavez
Copy link
Owner

bchavez commented Sep 16, 2018

Hello,

The demos were run in LINQPad. The .Dump() method is a LINQPad extension.

If you're looking for similar functionality, it can be found here:
https://github.com/bchavez/Bogus/blob/master/Source/Bogus.Tests/ExtensionsForTesting.cs

It's just Newtonsoft.Json with an Indented format.

Hope that helps!

Thanks,
Brian

⚫ 💫 "Black magic... bla-a-a-ack... black magic..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants