Guest User

Untitled

a guest
Feb 19th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. using System;
  2. using Newtonsoft.Json;
  3. using Newtonsoft.Json.Serialization;
  4. using Newtonsoft.Json.Converters;
  5. using Newtonsoft.Json.Linq;
  6.  
  7. namespace jsonDotNetExperiment
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. Console.WriteLine("jsonDotNet workspace");
  14. #region jsonSnippet
  15. var simpleObject = new JObject
  16. {
  17. {"property", 4}
  18. };
  19. Console.WriteLine(simpleObject.ToString(Formatting.Indented));
  20. #endregion
  21. Console.WriteLine("Bye!");
  22. Console.WriteLine("Bye!");
  23. }
  24. }
  25. }
Add Comment
Please, Sign In to add comment