Comments (3)
There is no particular reason to use 1.13
, but if it means it's not cross-compatible with other projects that run on 1.11
or higher for example. I think we should adjust the go.mod, I can make a PR for this.
from encoding.
This is a result of this change in Go1.14:
https://golang.org/doc/go1.14#encoding/json
Unfortunately, Go1.13 is now deprecated with the release of Go1.15. I could be wrong, but I believe we're taking the same approach around deprecation timelines, so (understanding I haven't read the code for this issue) I think it's unlikely to be fixed.
Is there something keeping you on Go1.13 in particular?
Edit: reading more closely, it seems like this ticket is more about Go1.13 being listed as supported by the Go mod file. Seems reasonable that we should probably bump that if this is our stance.
from encoding.
The reason the tests failed is because there was a behavior change in encoding/json
in Go 1.14 that we ported to this project (see #34).
The path forward should be to update go.mod
to require Go 1.14 (like @abraithwaite suggested), if you want to remain on Go 1.13 you should use segmentio/encoding v0.1.10 (although that may not be a great option since it means giving up on some bug fixes).
from encoding.
Related Issues (20)
- json: stack overflow when encoding cyclic structures HOT 1
- proto: unexpected fault address when deref struct field HOT 1
- Proposal: add an option to prevent encoder from adding a newline on Encode HOT 3
- Proposal: ability to marshal with flags HOT 3
- json.Unescape has issues with UNC paths
- Can't reproduce speed/memory benefits in benchmarks HOT 4
- json.Marshal: unsupported type: map[interface{}]interface{} HOT 1
- json cannot unmarshal number
- decoding of 'missing' json values goes totally undetected
- Marshal ignores fields on embedded struct when using an omitempty tag
- Found pointer to free object
- proto: StartGroup HOT 1
- General Library
- jsonpb marshal/unmarshal for proto package
- Different output when using anonymous fields and omitempty tags HOT 1
- SIGILL on v0.2.10 and above on older hardware due to #66 HOT 3
- "checkptr: pointer arithmetic result points to invalid allocation" caused by #81 HOT 2
- json: Go 1.16 allows for ; in json tags HOT 1
- Document procedure for benchmarking against other json libraries
- handling of time.Duration deviates from stdlib
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from encoding.