aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/json.cpp (follow)
AgeCommit message (Collapse)Author
2021-09-26Tweaked number output.Mike Buland
It uses an integer formatting when there is no fractional component to the number, and a fixed point format when there is.
2019-12-14Json provides line/char in errors now.Mike Buland
All errors are also rewoked and the parser state is tracked much better. Also fixed a parser issue where it would error correctly, but report it poorly when an object started with something other than a string.
2019-07-08Fixed number formatting bug by using libc sprintf.Mike Buland
2019-06-13Added string comparison operator to json.Mike Buland
2019-06-12Json objects can be formatted directly.Mike Buland
2019-05-14More fixes.Mike Buland
2019-05-13UtfString & Json overhaul.Mike Buland
UtfString supports a load of new stuff, and Json uses UtfString exclusively now.
2019-03-11Json parsing fix + new API for copying.Mike Buland
2018-12-17Bu::Json handles encoding control chars.Mike Buland
It still needs to handle the rest of unicode properly. It'll require a minor change but shouldn't be too bad overall.
2018-02-20Json parse fixes.Mike Buland
It didn't handle empty arrays or objects correctly.
2018-01-24Json stuffMike Buland
2018-01-22Fixed escaped character encoding in Json decoding.Mike Buland
2018-01-18Made json much more helpful. Fixed array iterators.Mike Buland
2017-08-30Json now can take a UtfString as a text component.Mike Buland
It immedaitely converts it to UTF-8 and stores it for now, but later on we may keep it longer, do some better validation, and have encoding options.
2017-08-23Json has a "has" function now.Mike Buland
2017-08-23Added append to the json interface.Mike Buland
It needs a lot more help.
2017-08-23Fixed string constructor.Mike Buland
2017-08-22Updated json.Mike Buland
It needs a lot more work before it can be used to programattically build complex objects, but it's a great start.
2017-06-07Changed interface slightly, it's easier to create json programmatically.Mike Buland
2017-06-06Reading, writing, and accessing loaded data all work.Mike Buland
2017-06-06Hey! This is a much better structure for the Json class.Mike Buland
This new setup is one class for everything, the values are kept in a union, and the instance knows what type it is. The tree of objects is a tree of instantiations of the same class. It's much simpler, it's much easier to write, and maybe even easier to use.
2017-06-05Json?Mike Buland
I'm honestly not sure what kind of interface I want here, or how to organize it. It may just be better to expand the whole thing, spread it out some.