| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | json: Encode NULL strings as null | Julian Andres Klode | 2021-04-23 | 1 | -0/+8 |
| | | | | | This is the only nullable thing we have here. | ||||
| * | json: Actually pop states | Julian Andres Klode | 2021-04-23 | 1 | -0/+16 |
| | | | | | | | | | | | | The JSON encoder only looked at the top state, but did not pop it, so if we nested objects, we got stuck in whatever the last state we pushed aside was, so in our example, we wrongly get a comma inserted _after_ key "b": {"a":[{}], "b":,[{}] } | ||||
| * | json: Escape strings using \u escape sequences, add test | Julian Andres Klode | 2021-04-23 | 1 | -0/+45 |
| This allows us to correctly encode strings containing quotation marks, escape characters and control characters. The test case is a bit nasty because it embeds private-cachefile.cc for linkage reasons. | |||||
