aboutsummaryrefslogtreecommitdiff
path: root/core/encoding/json/parser.odin
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: remove unused importRickard Andersson2023-10-021-1/+0
|
* fix: guard against empty key value in `parse_object_body`Rickard Andersson2023-10-021-6/+10
|
* docs: add note about checking for alloc errorRickard Andersson2023-10-021-0/+2
|
* fix: use `runtime.map_insert` to not overallocateRickard Andersson2023-10-021-6/+4
|
* fix(json): return `.Out_Of_Memory` when out of memory on parseRickard Andersson2023-10-021-0/+6
| | | | | Previously this would silently simply not do anything and the object would be empty/incomplete when parsed instead.
* Fix bug with index increment in `unquote_string`Abdelrahman Farid2023-09-191-1/+1
|
* fix #2550 json encoding should use surrogate pairs per RFC7159Laytan Laats2023-05-221-1/+10
|
* Rename to SJSON for the Simplified JSON notation variantgingerBill2022-06-161-1/+1
|
* [json/unmarshal] Fix quoted strings.Jeroen van Rijn2022-04-191-0/+6
|
* Revert "Fix unmarshal for escaped strings."Jeroen van Rijn2022-04-191-5/+0
| | | | This reverts commit 581255bf23af90b77bb2b6e2671b40e2b565754e.
* Fix unmarshal for escaped strings.Jeroen van Rijn2022-04-191-0/+5
|
* Add json encoding test + fix enum not being set on success.Daniel Gavin2021-11-071-3/+4
|
* Improve MJSON handlinggingerBill2021-09-281-18/+16
|
* Support `json.Specification.MJSON`gingerBill2021-09-281-57/+74
| | | | https://bitsquid.blogspot.com/2009/10/simplified-json-notation.html
* Add `json.unmarshal`gingerBill2021-09-251-19/+35
|
* Remove unneeded semicolons from the core librarygingerBill2021-08-311-203/+203
|
* Update package encoding/json for `or_return`gingerBill2021-08-151-24/+6
|
* [Breaking] Change the layout `json.Value` to be a `union` rather than a ↵gingerBill2021-08-081-24/+10
| | | | `struct` of a `json.Pos` and the union
* Core library clean up: Make range expressions more consistent and replace ↵gingerBill2021-06-141-6/+6
| | | | uses of `..` with `..=`
* Added option to parse number as integer, disabled by defaultjockus2020-09-151-4/+5
|
* Commit fixgingerBill2020-06-161-44/+45
|
* Fix `strconv.parse_` usage across other packagesgingerBill2020-05-091-2/+4
|
* Implement `#complete switch` by default, replace with `#partial switch` #511gingerBill2019-12-221-2/+2
|
* Make the `string` type elements "immutable", akin to `char const *` in CgingerBill2019-12-011-2/+2
| | | | Allows for extra security and optimization benefits
* Fix typo in json/parser.odingingerBill2019-01-141-1/+1
|
* Update `package json` parser to store the end position on the valuesgingerBill2019-01-141-2/+14
|
* Make encoding/json use []byte rather than stringgingerBill2019-01-071-2/+2
|
* Support NaN and Infinity for JSON5gingerBill2019-01-061-0/+22
|
* package json; JSON5 supportgingerBill2019-01-061-21/+118
|
* Add json.is_validgingerBill2019-01-061-2/+3
|
* Begin work on `package json`gingerBill2019-01-061-0/+323