there is a Java Standard way to read/write Json streams without using Gson, Jackson,… (other json parsers) ?, Currently i have a file like this:
file.conf:
01={"string":"Test","number":25,"array":[1,2,3],"object":{"property":"Jack","subobj":{"arr":["php","java"],"numero":1}}}
02=other json object
03=other json object
I need the most standard way, to get a Object (POJO). Thanks for any help.
Java doesn’t have a standard class for parsing JSON. That’s why there are so many libraries for that (json.org lists 23).
When you really want to do it without an external library you can try to build your own parser using regular expressions and/or string operations, but that would be a terrible idea. Really, don’t reinvent the wheel and pick a library.