DEV Community

Cover image for INSTANTLY PARSE JSON

INSTANTLY PARSE JSON

Amritanshu Dev Rawat on June 09, 2021

How To Parse JSON Instantly? Get your JSON Copy all of that Now, Go to Secret Place Paste the copied JSON to the black box (<- see ...
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

😀