> So here is a typical entry for http://localhost:4444/text/10.401D54000800 .. looks fine. Most text handling routines can strip whitespace as needed :-)
> And here for http://localhost:4444/json/10.401D54000800 > Should it be? almost ... "scratchpad":"2D004B28FFFF03106E", "temperature": 22.5625, "temphigh": 75, "templow": 40, "type":"DS18S20" } The final entry must not have a trailing comma (grr! makes for slightly harder loop unrolling) ditto you're not allowed an array of { "stuff": [1,2,3,4,] } with a trailing comma in. http://jsonlint.com/ is handy to test :-) JSON parsers remove extra whitespace automatically (although purists remove it anyway before sending to save bytes :-) - ie: {"address":"10401D54000800BE","alias":"","crc8":"BE","errata":[],"family":"10","id":"401D54000800","locator":"FFFFFFFFFFFFFFFF","power":false,"r_address":"BE000800541D4010","r_id":"000800541D40","r_locator":"FFFFFFFFFFFFFFFF","scratchpad":"2D004B28FFFF03106E","temperature":22.5625,"temphigh":75,"templow":40,"type":"DS18S20"} is just as valid ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
