Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-16 | We now parse \u<hex> in json strings. | Mike Buland | |
How we got away with it for this long is amazing. | |||
2022-10-03 | Added insertNull and appendNull to Bu::Json. | Mike Buland | |
Just helpers to make using json easier and easier. | |||
2021-09-26 | Tweaked 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-14 | Json 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-08 | Fixed number formatting bug by using libc sprintf. | Mike Buland | |
2019-06-13 | Added string comparison operator to json. | Mike Buland | |
2019-06-12 | Json objects can be formatted directly. | Mike Buland | |
2019-05-14 | More fixes. | Mike Buland | |
2019-05-13 | UtfString & Json overhaul. | Mike Buland | |
UtfString supports a load of new stuff, and Json uses UtfString exclusively now. | |||
2019-03-11 | Json parsing fix + new API for copying. | Mike Buland | |
2018-12-17 | Bu::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-20 | Json parse fixes. | Mike Buland | |
It didn't handle empty arrays or objects correctly. | |||
2018-01-24 | Json stuff | Mike Buland | |
2018-01-22 | Fixed escaped character encoding in Json decoding. | Mike Buland | |
2018-01-18 | Made json much more helpful. Fixed array iterators. | Mike Buland | |
2017-08-30 | Json 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-23 | Json has a "has" function now. | Mike Buland | |
2017-08-23 | Added append to the json interface. | Mike Buland | |
It needs a lot more help. | |||
2017-08-23 | Fixed string constructor. | Mike Buland | |
2017-08-22 | Updated 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-07 | Changed interface slightly, it's easier to create json programmatically. | Mike Buland | |
2017-06-06 | Reading, writing, and accessing loaded data all work. | Mike Buland | |
2017-06-06 | Hey! 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-05 | Json? | 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. |