Mike Farah
1c9f001171
wip
2024-03-12 16:43:53 +11:00
Mike Farah
55f6a3a49d
Refactoring JSON encoder prefs
2024-02-24 15:48:59 +11:00
Mike Farah
010750daf6
Updated to latest golint
2024-01-11 13:17:34 +11:00
Mike Farah
13d1bbb45f
Generic ast ( #1829 )
...
Remove dependency on yaml.Node for internal AST representation. Yaml decoder is now just another decoder.
2023-10-18 12:11:53 +11:00
Anders Björklund
cf8cfbd865
Allow build without json and xml support ( #1556 )
...
* Refactor ordered_map into separate files
Separate json and xml, from the regular yaml.
Makes it possible to compile, without those...
* Refactor encoder and decoder creation
Use more consistent parameters vs globals
Return errors instead of calling panic()
* Allow build without json and xml support
2023-03-01 13:19:06 +11:00
Mike Farah
1d35134310
Unwrap scalar now works for JSON encoding when explicitly set #1409
2022-11-10 19:21:18 +11:00
Mike Farah
b9a1ef89fe
Added NDJSON decoder ( #1281 )
2022-07-27 12:26:22 +10:00
Mike Farah
fbe49c3700
Added colors to json output #1208
2022-05-22 21:19:59 +10:00
Mike Farah
26356ff4be
Added github action fix for parsing xml, updated linter
2022-02-07 11:55:55 +11:00
Mike Farah
ec8ef312ef
Added XML encoding/decoding ( #1067 )
...
* Added XML encoding/decoding
* Minor fixes
* Improve yq doc
* Lint
2022-01-15 11:57:59 +11:00