DEV Community

Cover image for INSTANTLY PARSE JSON
Amritanshu Dev Rawat
Amritanshu Dev Rawat

Posted on

INSTANTLY PARSE JSON

How To Parse JSON Instantly?

  • Get your JSON
  • Copy all of that

image

image

  • Paste the copied JSON to the black box (<- see left)

image

  • From Right side choose your language (see right ->)

image

  • It will generate the file according to the selected language.

image

  • Click on Copy code and do whatever you want , just don't hack NASA

image

  • Youtube tutorial

Top comments (10)

Collapse
 
junejuly profile image
June July

wait whatttttttt thanks bro:)

Collapse
 
amritanshu profile image
Amritanshu Dev Rawat

ayo :)

Collapse
 
junejuly profile image
June July

Keep Adding More :)

Thread Thread
 
amritanshu profile image
Amritanshu Dev Rawat

Coming Soon :)
Any topic you want me to write about?

Thread Thread
 
junejuly profile image
June July

Waiting for the next one :)
post anything related to Java :)

Thread Thread
 
amritanshu profile image
Amritanshu Dev Rawat

Sure :)

Collapse
 
michaelcurrin profile image
Michael Currin • Edited

Hmm interesting idea. I don't know if I have use-case for it. What kind of projects are you using it for?

I'm happy with keeping my objects as a list or dict of strings or numbers, without converting it to a class instance.

If I do want to enforce strict structure and types at runtime when parsing JSON, so I know it is safe to use, I'd rather rely on a library do to do that. So I don't need to generate and copy boilerplate from the tool provided, which has to be maintained and repeated on each project of mine.

e.g. jsonschema in Python - pass it a schema validation of the types (rather than inferring from the values). And it will raise an error if the format of your data is bad.

python-jsonschema.readthedocs.io/e...

Collapse
 
amritanshu profile image
Amritanshu Dev Rawat

Nice :)

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Actually useful 😀

Collapse
 
amritanshu profile image
Amritanshu Dev Rawat

😀