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
Vít Zikmund
93b7c999be
Use a lazy-quoting @sh encoder ( #1548 )
...
* Use a lazy-quoting @sh encoder
* Add internal quoting style switch to @sh
* Add test for stray empty quotes in @sh
2023-02-09 18:15:07 +11:00
Mike Farah
d21bb920d6
Added shell string encoder (@sh) #1526
2023-02-02 12:23:08 +11:00
Mike Farah
6d7d76a3f1
Adds @uri/@urid #1529
2023-01-23 11:37:18 +11:00
Mike Farah
ececd00fbd
Updated default xml naming prefix
2022-11-10 22:22:55 +11:00
Mike Farah
b1a40a9fb7
Bumped go compiler; bumped quality tools
2022-08-29 14:13:15 +10:00
Mike Farah
c8815f5ab9
Csv decoder ( #1290 )
...
* WIP: adding CSV decoder
* Adding CSV decoder
* Added CSV roundtrip
* Fixing from review
2022-08-01 10:28:34 +10:00
Mike Farah
294da55012
Fixed base64/xml decode an empty string #1209
2022-05-27 11:18:38 +10:00
Mike Farah
8d32e6a82c
Fixed base64 decode an empty string #1209
2022-05-27 10:56:43 +10:00
Mike Farah
186b319093
Added from_props
2022-03-28 19:48:30 +11:00
Mike Farah
d9bca65626
Added base64 support
2022-02-23 09:26:35 +11:00
Mike Farah
ca1c5dab59
Can encode in XML!
2021-12-21 16:59:09 +11:00
Mike Farah
2ee9c65bc2
Added global xml prefs for simplicity
2021-12-21 16:52:54 +11:00
Mike Farah
df32baedf1
Added XML decoder ( #1044 )
2021-12-21 15:02:07 +11:00
Mike Farah
855b3c4b47
Cleanup test
2021-12-02 20:06:51 +11:00
Mike Farah
df5128fa36
Added encoder tests
2021-12-02 20:06:51 +11:00
Mike Farah
de90b3e85e
gitbook wip
2021-11-03 22:37:07 +11:00
Mike Farah
91717b3c5d
Can specify indent in encode ops
2021-10-24 11:35:40 +11:00
Mike Farah
587af7f722
Fixed newline handling in encoder/decoder
2021-10-22 15:21:01 +11:00
Mike Farah
b1e64a0d80
Fixed newline handling when decoding/encoding
2021-10-22 14:53:39 +11:00
Mike Farah
7288d34778
Added decoder op
2021-10-22 12:37:47 +11:00