| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge pull request #5882 from IllusionMan1212/custom-json-marshalling | Jeroen van Rijn | 2026-01-01 | 1 | -3/+85 |
| |\ | | | | | encoding/json: custom json (un)marshalling | ||||
| | * | Make custom JSON (un)marshalers more like core:fmt's | Jeroen van Rijn | 2025-12-10 | 1 | -35/+106 |
| | | | |||||
| | * | encoding/json: error handling for custom (un)marshallers | Hisham Aburaqibah | 2025-12-02 | 1 | -2/+2 |
| | | | |||||
| | * | encoding/json: custom json (un)marshalling | IllusionMan1212 | 2025-12-02 | 1 | -25/+36 |
| | | | |||||
| * | | [encoding/json] Allow Unmarshalling to `rune` | dozn | 2025-12-30 | 1 | -0/+9 |
| |/ | | | | Fixes https://github.com/odin-lang/Odin/issues/6061 | ||||
| * | encoding/json: clone unquoted strings | Neirokan | 2025-11-06 | 1 | -14/+16 |
| | | |||||
| * | Change `is_utf16` field to `encoding` and use an enum | gingerBill | 2025-08-05 | 1 | -1/+1 |
| | | |||||
| * | Begin supporting `string16` across the core library | gingerBill | 2025-08-02 | 1 | -1/+3 |
| | | |||||
| * | Merge pull request #4944 from dozn/master | Laytan | 2025-05-15 | 1 | -8/+14 |
| |\ | | | | | [core:encoding/json] When Unmarshalling, Only Match On Struct Tags If Present | ||||
| | * | [core:encoding/json] When Unmarshalling, Only Match Struct Tags If Present | dozn | 2025-03-17 | 1 | -8/+14 |
| | | | |||||
| * | | fix unmarshalling bit sets in json | Laytan Laats | 2025-03-22 | 1 | -2/+18 |
| |/ | | | | Fixes #4761 | ||||
| * | Remove unnecessary string() conversion. | dozn | 2024-12-28 | 1 | -1/+1 |
| | | |||||
| * | Use Struct Tags For Embedded (with `using`) Structs When Unmarshalling JSON | dozn | 2024-12-28 | 1 | -1/+1 |
| | | | | A fix for https://github.com/odin-lang/Odin/issues/4539 | ||||
| * | fix #4536 - stack buffer overflow for size_of 0 types in struct unmarshal | Laytan Laats | 2024-12-06 | 1 | -1/+1 |
| | | |||||
| * | Move Struct Field Zipping Outside of JSON Token Loop | dozn | 2024-12-05 | 1 | -3/+3 |
| | | |||||
| * | fix unmarshal unhandled error (#4515) | o:tone | 2024-11-25 | 1 | -1/+1 |
| | | | | * fix unmarshal unhandled error | ||||
| * | Check for more errors in json.unmarshal | gingerBill | 2024-11-14 | 1 | -15/+34 |
| | | |||||
| * | encoding/json: fix leak when string is unmarshalled into non-string field | Laytan Laats | 2024-10-19 | 1 | -5/+10 |
| | | | | | Fixes #4391 | ||||
| * | unmarshal bitset ints like cbor does | jakubtomsu | 2024-09-04 | 1 | -1/+24 |
| | | |||||
| * | Allow json to unmarshal empty struct. | Jeroen van Rijn | 2024-07-21 | 1 | -2/+1 |
| | | |||||
| * | Merge pull request #3910 from VladPavliuk/json-add-int-key-map-support | gingerBill | 2024-07-14 | 1 | -8/+22 |
| |\ | | | | | Allow to `marshal` and `unmarshal` maps with int keys | ||||
| | * | Allow to `marshal` and `unmarshal` maps with int keys | VladPavliuk | 2024-07-13 | 1 | -8/+22 |
| | | | |||||
| * | | Reduce the size of `runtime.Type_Info` | gingerBill | 2024-07-14 | 1 | -1/+1 |
| |/ | |||||
| * | Fix `omitempty` in `json.marshal` | Feoramund | 2024-04-27 | 1 | -1/+1 |
| | | |||||
| * | Update numerous package declaration names | gingerBill | 2024-04-18 | 1 | -1/+1 |
| | | |||||
| * | Add `json:"name,omitempty"` | gingerBill | 2024-04-10 | 1 | -2/+4 |
| | | |||||
| * | Allow for comma-separate json names `json:"name,flag"` | gingerBill | 2024-04-10 | 1 | -1/+10 |
| | | |||||
| * | correct newly found vets | Laytan Laats | 2024-04-03 | 1 | -2/+2 |
| | | |||||
| * | Json: improved unmarshalling of `using _: T` fields. | Franz Höltermann | 2024-03-27 | 1 | -9/+41 |
| | | | | | | | | | | | | | | | | | | | | | | `using _: T` fields will now have their members unmarshalled to their parent types reflecting the new behaviour of json.marshall. Example: ```go A :: struct { using _: B, } B :: struct { field: string, } data := `{"field": "Hello World"}` a: A json.unmarshal_string(data, &a) ``` | ||||
| * | Zero `intrinsics.alloca` | gingerBill | 2024-03-06 | 1 | -2/+5 |
| | | |||||
| * | Use `intrinsics.alloca` rather than `context.temp_allocator` in ↵ | gingerBill | 2024-03-06 | 1 | -5/+8 |
| | | | | | `json.unmarshal_object` | ||||
| * | Fix #3250 | gingerBill | 2024-03-06 | 1 | -0/+6 |
| | | |||||
| * | remove return statement from case Type_Info_Enumerated_Array, as it causes ↵ | Kay | 2024-02-12 | 1 | -1/+0 |
| | | | | | early exit in JSON unmarshalling. | ||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 1 | -1/+1 |
| | | |||||
| * | Enforce naming the parameters with `builtin.quaternion` to reduce confusion | gingerBill | 2024-01-05 | 1 | -3/+3 |
| | | |||||
| * | encoding/json: try to unmarshal into union variants | Laytan Laats | 2024-01-03 | 1 | -10/+27 |
| | | |||||
| * | Replace `x in &y` Use `&v in y` syntax through core & vendor for ↵ | gingerBill | 2023-06-26 | 1 | -5/+5 |
| | | | | | `switch`/`for` statements | ||||
| * | Convert indentation to tabs | jakubtomsu | 2023-04-14 | 1 | -6/+6 |
| | | |||||
| * | Handle unmarshalling to json.Value | jakubtomsu | 2023-04-14 | 1 | -0/+6 |
| | | |||||
| * | Add `runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD` where appropriate | gingerBill | 2023-02-10 | 1 | -0/+2 |
| | | |||||
| * | Correct json/unmarshal.odin | gingerBill | 2022-11-11 | 1 | -1/+1 |
| | | |||||
| * | Correct reflection usage of maps | gingerBill | 2022-11-08 | 1 | -6/+3 |
| | | |||||
| * | 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 |
| | | |||||
| * | Allow for ignored fields in struct for `json.unmarshal` | gingerBill | 2022-09-14 | 1 | -1/+8 |
| | | |||||
| * | 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. | ||||
| * | Merge functionality of `#maybe` with the standard 'union' functionality | gingerBill | 2022-05-23 | 1 | -1/+1 |
| | | |||||
| * | 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 |
| | | |||||