diff options
author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-12 21:47:35 -0400 |
---|---|---|
committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-12 21:47:35 -0400 |
commit | aaa46de4d284ba0038ea8f4177f39b171b80ac48 (patch) | |
tree | 9eff7c3cee42e81aafc46ad78a8d674d6d792329 /pkg/api/api0/api.go | |
parent | c20c849919f3405f8d37021d597d9b73e2df0435 (diff) | |
download | Atlas-aaa46de4d284ba0038ea8f4177f39b171b80ac48.tar.gz Atlas-aaa46de4d284ba0038ea8f4177f39b171b80ac48.zip |
pkg/{pdata,pdef/pdefgen}: Add support for JSON encoding
* Backwards-compatbile with old master server:
* NaN/Inf floats are encoded as null.
* Enums are encoded as the value name, or the number if unrecognized.
* Names are the same as the pdef.
* Exception: Strings don't include bytes after the null terminator.
* Also supports filtering fields.
* Decoding is not supported for now.
Diffstat (limited to 'pkg/api/api0/api.go')
0 files changed, 0 insertions, 0 deletions