Comments (1)
In JSON, numbers are double by default.
I wonder if what you see is related to mora, mgo the driver or mongo.
Perhaps https://golang.org/pkg/encoding/json/#Decoder.UseNumber should be used.
It needs investigation
from mora.
Related Issues (20)
- [cors] use go-restful standard filter to implement CORS HOT 2
- Mora Authentication HOT 7
- Error on update when new document contains string "_id".
- Mora reusing HOT 1
- XML serialization error HOT 1
- Does not handle documents with UUID's as Ids HOT 5
- Wondering about hooks HOT 1
- Can't authenticate with Mora HOT 3
- Builds failing due to missing goproperties repo HOT 3
- Is there any build document? HOT 1
- swagger seems doesn't work HOT 3
- Is there any api to run mongodb shell? HOT 2
- bind: cannot assign requested address HOT 1
- Is there any plan to add api input validation. HOT 2
- resp.WriteHeader(status) in func WriteStatus is not required anymore. HOT 3
- Is there an easy way to add auth mechanism in mora.
- Every new post request create a new TCP connection. HOT 1
- OPTIONS response prior to performing PUT does not contain Access-Control-Allow-Origin or Access-Control-Expose-Headers headers. Rejected by Chrome. HOT 1
- len(data)=0 when I set skip=1 and limit=1 HOT 2
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 mora.