| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Fix for skip_alphanum in JSON tokenizer not checking if first character is ↵ | Karl Zylinski | 2023-04-05 | 1 | -1/+2 | |
| | | | | | non-alphanum. This broke any single-character key when using SJSON specification in combination with not using quoted strings. | |||||
| * | Typo | Jeroen van Rijn | 2023-03-25 | 1 | -1/+1 | |
| | | ||||||
| * | Update types.odin | Jeroen van Rijn | 2023-03-25 | 1 | -6/+6 | |
| | | | | | Use `context.allocator := allocator` idiom. | |||||
| * | Add allocator parameter to `json.detroy_value` | Igor Dreher | 2023-03-24 | 1 | -5/+5 | |
| | | ||||||
| * | Add `runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD` where appropriate | gingerBill | 2023-02-10 | 1 | -0/+2 | |
| | | ||||||
| * | Rename to `Type_Info_Parameters` | gingerBill | 2023-02-08 | 1 | -1/+1 | |
| | | ||||||
| * | Fix json.marshal for `map[string]string` | gingerBill | 2023-01-24 | 1 | -0/+4 | |
| | | ||||||
| * | Correct json/unmarshal.odin | gingerBill | 2022-11-11 | 1 | -1/+1 | |
| | | ||||||
| * | Fix json marshal for maps | gingerBill | 2022-11-08 | 1 | -2/+2 | |
| | | ||||||
| * | Correct reflection usage of maps | gingerBill | 2022-11-08 | 2 | -20/+14 | |
| | | ||||||
| * | else statement to allow skipping unused struct fields | Michael Kutowski | 2022-09-30 | 1 | -9/+7 | |
| | | ||||||
| * | Correct json.unmarshal for `map`s | gingerBill | 2022-09-21 | 1 | -2/+2 | |
| | | ||||||
| * | Update json/unmarshal.odin for the new `runtime.__dynamic_map_set` | gingerBill | 2022-09-17 | 1 | -8/+6 | |
| | | ||||||
| * | Add missing import | gingerBill | 2022-09-14 | 1 | -1/+2 | |
| | | ||||||
| * | Use `json` field tag for `json.marshal` | gingerBill | 2022-09-14 | 1 | -1/+5 | |
| | | ||||||
| * | Allow for ignored fields in struct for `json.unmarshal` | gingerBill | 2022-09-14 | 1 | -1/+8 | |
| | | ||||||
| * | Fixed marshal_to_writer not supporting i128 | Despacito696969 | 2022-08-26 | 1 | -0/+1 | |
| | | | | Previously json.marshal(i128(696969)) would print 0 as there was no `u = i128(i)` initialization. | |||||
| * | Update marshal.odin | Michael Kutowski | 2022-08-12 | 1 | -1/+1 | |
| | | ||||||
| * | add new soa type, my bad wasnt on master | Michael Kutowski | 2022-08-12 | 1 | -0/+3 | |
| | | ||||||
| * | switch styling and opt.spaces max | Michael Kutowski | 2022-08-12 | 1 | -59/+44 | |
| | | ||||||
| * | Merge branch 'master' into pretty-json-2 | gingerBill | 2022-08-11 | 2 | -3/+6 | |
| |\ | ||||||
| | * | Add `#soa` pointer type to aid with refactoring to `#soa` data types | gingerBill | 2022-08-08 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | a: #soa[16]Foo p := &a[6] #assert(type_of(p) == #soa^#soa[16]Foo) p^.x = 123 p.x = 123 | |||||
| | * | Fix bug unmarshalling JSON with assertions disabled | William Roe | 2022-07-28 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | When asserts are disabled, code within the assert isn't run. Having expect_token within an assert means that the state of the Parser is mutated when asserts are run, but not when they aren't. There's already a wrapper procedure for this pattern, which I have reused here. | |||||
| | * | Rename strings.Builder procedures to be consistent with the rest of the core ↵ | gingerBill | 2022-07-11 | 1 | -2/+2 | |
| | | | | | | | | | library | |||||
| * | | add uint as hex option | Michael Kutowski | 2022-08-08 | 1 | -10/+21 | |
| | | | ||||||
| * | | ...bad paste | Michael Kutowski | 2022-08-05 | 1 | -8/+17 | |
| | | | ||||||
| * | | marshal output options with pretty option and other config | Michael Kutowski | 2022-08-05 | 1 | -51/+214 | |
| |/ | ||||||
| * | Rename to SJSON for the Simplified JSON notation variant | gingerBill | 2022-06-16 | 2 | -3/+4 | |
| | | ||||||
| * | Minor fix | gingerBill | 2022-06-11 | 1 | -1/+1 | |
| | | ||||||
| * | Merge functionality of `#maybe` with the standard 'union' functionality | gingerBill | 2022-05-23 | 1 | -1/+1 | |
| | | ||||||
| * | [json/unmarshal] Fix quoted strings. | Jeroen van Rijn | 2022-04-19 | 1 | -0/+6 | |
| | | ||||||
| * | Revert "Fix unmarshal for escaped strings." | Jeroen van Rijn | 2022-04-19 | 1 | -5/+0 | |
| | | | | | This reverts commit 581255bf23af90b77bb2b6e2671b40e2b565754e. | |||||
| * | Fix unmarshal for escaped strings. | Jeroen van Rijn | 2022-04-19 | 1 | -0/+5 | |
| | | ||||||
| * | Utilize `union #shared_nil` in more places | gingerBill | 2022-03-24 | 1 | -3/+4 | |
| | | ||||||
| * | `ODIN_ENDIAN` changed to an enum constant; `ODIN_ENUM_STRING` is the new ↵ | gingerBill | 2022-01-15 | 1 | -2/+2 | |
| | | | | | string version of the old constant | |||||
| * | Fix 'unmarsal' typo | Phil H | 2021-12-05 | 1 | -25/+25 | |
| | | ||||||
| * | Fix minor issue with unmarshal for booleans | gingerBill | 2021-11-13 | 1 | -0/+1 | |
| | | ||||||
| * | Add json encoding test + fix enum not being set on success. | Daniel Gavin | 2021-11-07 | 2 | -5/+6 | |
| | | ||||||
| * | Fix json.marshal for Matrix | gingerBill | 2021-10-20 | 1 | -0/+3 | |
| | | ||||||
| * | Remove dead code | gingerBill | 2021-10-02 | 1 | -17/+0 | |
| | | ||||||
| * | Add alias for `MJSON` as `Bitsquid` | gingerBill | 2021-10-02 | 1 | -0/+1 | |
| | | ||||||
| * | Improve reflect.Type_Info_Complex support | gingerBill | 2021-09-29 | 1 | -1/+15 | |
| | | ||||||
| * | Add more support for complex types | gingerBill | 2021-09-29 | 2 | -21/+29 | |
| | | ||||||
| * | Clean up `json.marshal_to_writer` | gingerBill | 2021-09-29 | 1 | -36/+12 | |
| | | ||||||
| * | Remove `fmt` dependency | gingerBill | 2021-09-29 | 2 | -4/+1 | |
| | | ||||||
| * | Improve `json.marshal` error handling for `io.Writer`; Add docs for the ↵ | gingerBill | 2021-09-29 | 4 | -102/+224 | |
| | | | | | different JSON specifications | |||||
| * | Improve MJSON handling | gingerBill | 2021-09-28 | 3 | -66/+83 | |
| | | ||||||
| * | Support `json.Specification.MJSON` | gingerBill | 2021-09-28 | 5 | -173/+201 | |
| | | | | | https://bitsquid.blogspot.com/2009/10/simplified-json-notation.html | |||||
| * | Make it clear that integers are parsed separately from floats | gingerBill | 2021-09-28 | 1 | -7/+6 | |
| | | ||||||
| * | Allow for `union{T}` like types in `json.unmarshal` | gingerBill | 2021-09-25 | 1 | -54/+61 | |
| | | ||||||