Comments (3)
which is why fastjson and other json libraries aren't slow as hell like default marshaller.. just use that if you use a struct. derp
from fastjson.
before asking questions on anything, you should at the very least read the readme
https://github.com/valyala/fastjson#usage
instead of Parse.. you can use ParseBytes.. which there are also plenty of posts about in examples etc
from fastjson.
before asking questions on anything, you should at the very least read the readme https://github.com/valyala/fastjson#usage instead of Parse.. you can use ParseBytes.. which there are also plenty of posts about in examples etc
Hmmm oke, but I think it doesn't support parsing to a struct?
from fastjson.
Related Issues (20)
- How to iterate over `p.Parser` output and store the results?
- fastjson doesn't iterate over a json
- How to escape json string
- How to concatenate two []*fastjson.Value arrays to single one and save it to file
- Keep getting error on GetString HOT 1
- sometimes the parsing has error coz json format "invalid" like missing comma
- the very fucking thing is xxx.String() -> ""xxxx""
- support reading json file?
- Marshaling does not agree with json.Encoder
- Parser does not fully validate the JSON HOT 1
- Special characters in the string are incorrectly encoded HOT 3
- fastfloat: strconv inequivalence - ParseFloat64("8.54E-4") got = 0.0008539999999999999, want 0.000854 HOT 1
- Why maintain parser and validate separately?
- pls provide examples and numbers in bytes for the memory usage meaning
- will mutex lock access be supported in future?
- clean way to distinguish between float and int numbers?
- Any way to get the _raw_ bytes from the key? (GetRaw("key"))
- Inconsistent interface of fastjson.GetString( data, "key") and value Get("key").String()
- func s2s use deprecated code in golang 1.20
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 fastjson.