Re: Decimal values in JSON

2013-04-16 Thread Sander Dijkhuis
rovides a Cosm-like API to work >> with sensor measurements. I know that the CouchDB guide recommends using >> strings to represent decimal values in JSON[1], but was curious to try using >> the { "field": 4.2 } format as it gives a cleaner API. I figured that as &g

Re: Decimal values in JSON

2013-04-16 Thread Elisiano Petrini
surements. I know that the CouchDB guide recommends using > strings to represent decimal values in JSON[1], but was curious to try using > the { "field": 4.2 } format as it gives a cleaner API. I figured that as long > as data is sent in the right format, CouchDB might handle it

Decimal values in JSON

2013-04-16 Thread Sander Dijkhuis
Hi, I’m working on a CouchDB design doc that provides a Cosm-like API to work with sensor measurements. I know that the CouchDB guide recommends using strings to represent decimal values in JSON[1], but was curious to try using the { "field": 4.2 } format as it gives a cleaner API.