engineeroflies / simple_json Goto Github PK
View Code? Open in Web Editor NEWa free simple json library for C
License: MIT License
a free simple json library for C
License: MIT License
sj_get_uint8_value()
sj_get_sint8_value()
sj_get_sint16_value()
sj_get_uint16_value()
sj_get_sint32_value()
sj_get_uint32_value()
sj_get_sint64_value()
sj_get_uint64_value()
sj_get_double_value()
Wrap the headers in #ifdefined __cplusplus an extern it all as "C" to make it natively compatible for c++
ei: if mission_1 is already there and you try to insert mission_11 something goes wrong
with a bad json file, the system doesn't check if it seeks beyond the bounds of the open file.
example:
"object":{
},
the above will fail to parse, but the below works fine:
"object":{},
its somewhere in
SJString *sj_parse_string(jsParse *parse)
Do better error checking.
Log if it went wrong
return NULL overall
current output saves all numerical values with quotes around them. It should check type and skip the quotes if not a string type
an extra comma causes issue. Handle this edge case gracefully
hson appears a bunch, fix it
Revisit the documentation to make sure it is all correct and clear
Put together some examples
Add more shorthand getters for sj_objects
My naming convention is verbose for the sake of education, but it gets old. Should make shorthand aliases of major accessors like sj_object_get_string instead of sj_object_get_value_as_string...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.