aboutsummaryrefslogtreecommitdiff
path: root/core/encoding
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4562 from dozn/patch-1gingerBill2024-12-061-3/+3
|\ | | | | Move Struct Field Zipping Outside of Loop
| * Move Struct Field Zipping Outside of JSON Token Loopdozn2024-12-051-3/+3
| |
* | Fix #4537gingerBill2024-12-051-0/+1
|/
* Fix #4549gingerBill2024-12-021-1/+1
|
* fix unmarshal unhandled error (#4515)o:tone2024-11-251-1/+1
| | | * fix unmarshal unhandled error
* Fix a bug in hxa decoder found by the new checkjakubtomsu2024-11-171-1/+1
|
* Check for more errors in json.unmarshalgingerBill2024-11-141-15/+34
|
* Remove relative types from json marshallergingerBill2024-11-141-6/+0
|
* fix cbor.to_json always returning array of tuples for objectsAlexis Caraballo2024-10-291-1/+1
| | | | to_json uses a small proc to check if all keys of an object are strings. It was always returning false for any input.
* encoding/cbor: fix skipping of ignored/missing fields in struct unmarshalLaytan Laats2024-10-261-0/+2
|
* encoding/cbor: handle binary having more fields than the struct by discardingLaytan Laats2024-10-251-1/+13
|
* cbor: fix capacity and ptr calculation for dynarray unmarshalTom Solberg2024-10-201-4/+5
|
* encoding/json: fix leak when string is unmarshalled into non-string fieldLaytan Laats2024-10-191-5/+10
| | | | Fixes #4391
* [encoding/ini]: Add missing line terminator at the end of the sectionflysand72024-09-241-0/+1
|
* core/encoding/cbor: allow unmarshalling non-string map keysLaytan Laats2024-09-111-27/+11
|
* Merge pull request #4191 from laytan/improve-package-doc-commentsgingerBill2024-09-0412-239/+257
|\ | | | | core: improve package doc comments for the documentation generator
| * core: improve package doc comments for the documentation generatorLaytan Laats2024-09-0312-239/+257
| |
* | unmarshal bitset ints like cbor doesjakubtomsu2024-09-041-1/+24
|/
* fix some doc commentsLaytan Laats2024-09-021-1/+1
|
* encoding/csv: fix examplesLaytan Laats2024-08-301-4/+6
|
* Fix error for uuid to require 36 bytes instead 32 (4 bytes for dashes)Ed Yu2024-08-261-15/+20
|
* encoding/cbor: various fixesLaytan Laats2024-08-093-10/+20
| | | | | | | - "null" is the proper way to represent the nil value in the diagnostic format - hex encoding in diagnostic format was wrong - struct keys weren't sorted the right deterministic way
* Update example to use `err != nil` insteadgingerBill2024-08-041-3/+3
|
* Tidy up codeRonald2024-07-211-2/+1
|
* Ensure that values in ini map are unquotedRonald2024-07-211-0/+2
|
* Allow json to unmarshal empty struct.Jeroen van Rijn2024-07-211-2/+1
|
* Add `core:encoding/ini` to examples/allgingerBill2024-07-191-1/+1
|
* Remove unnecessary changeRonald2024-07-171-4/+1
| | | | This was accidentally added, it was a change I made whilst testing.
* Fix memory leak in encoding/iniRonald2024-07-171-2/+5
| | | | | A simple change that fixes a memory leak caused by not deleting all the values in the map
* fix some bugs with -disable-assertLaytan Laats2024-07-162-2/+4
|
* Clean up `unquote` codegingerBill2024-07-141-1/+1
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2024-07-142-41/+67
|\
| * Merge pull request #3910 from VladPavliuk/json-add-int-key-map-supportgingerBill2024-07-142-41/+67
| |\ | | | | | | Allow to `marshal` and `unmarshal` maps with int keys
| | * Merge branch 'master' into json-add-int-key-map-supportVladPavliuk2024-07-142-1/+6
| | |\
| | * | Allow to `marshal` and `unmarshal` maps with int keysVladPavliuk2024-07-132-41/+67
| | | |
* | | | Fix #3926gingerBill2024-07-141-7/+9
|/ / /
* | / Reduce the size of `runtime.Type_Info`gingerBill2024-07-144-6/+6
| |/ |/|
* | Fix logic bug in core/encoding/ini/ini.odinRonald2024-07-141-1/+1
| | | | | | | | | | The load_map_from_path had incorrect logic where it would return false for ok when err was equal to nil and true when there was an error.
* | Align ignore syntax of json tags with fmt, cborVladPavliuk2024-07-141-3/+6
| |
* | Add support of `ignore` tag for `json.marshal`VladPavliuk2024-07-131-1/+3
|/
* fix `@(optimization_mode)` usage in builtin collectionsLaytan Laats2024-07-081-5/+5
|
* encoding/cbor: add a custom tag to the exampleLaytan Laats2024-07-081-5/+33
|
* encoding/cbor: improve perf of marshalling array-like typesLaytan Laats2024-07-081-16/+56
|
* encoding/cbor: fix umarshal of big fixed arraysLaytan Laats2024-07-081-14/+6
|
* wasi: make the demo run on wasi and run it in CILaytan Laats2024-06-291-1/+0
|
* Fix loads of indentation issues with mixing spaces and tabsgingerBill2024-06-294-31/+31
|
* Even more style fixesgingerBill2024-06-292-2/+2
|
* Indentation fixesgingerBill2024-06-291-116/+116
|
* Fix generation for unicode entitiesgingerBill2024-06-291-4816/+4816
|
* Add another `-vet-cast` checkgingerBill2024-06-291-1/+1
|