Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^5: JSON parsing issue please help

by james2vegas (Chaplain)
on Oct 01, 2012 at 10:00 UTC ( #996610=note: print w/replies, xml ) Need Help??


in reply to Re^4: JSON parsing issue please help
in thread JSON parsing issue please help

If this someone has parsed this JSON with their own hand-rolled parser in Ruby, then that parser is accepting invalid JSON and should be dumped in favor of one used by other Ruby projects. If this is being parsed by a popular Ruby library, alert the maintainers of that code to the JSON spec (or the RFC) epecially this part:

array = begin-array [ value *( value-separator value ) ] end-arr +ay
Notice that it isn't array = begin-array [ *( value value-separator ) ] end array

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996610]
help
Chatterbox?
[LanX]: as long as he has votes left, the nodelet remains
[LanX]: There is a very simple solution ...
[marinersk]: Correct, so one workaround is to leave one vote.
[marinersk]: But I was looking for a more elegant solution. It appears noone online at this time is aware of one.
[LanX]: go to Nodelet Settings and click "All nodelets off"
[LanX]: SUPER STABLE!!!
[marinersk]: LanX++ LOL Yes, that is another workaround. :-)
[LanX]: strangely you can't disable the XP nodelet
[LanX]: But you can use CSS to hide it
[LanX]: and disoplay the data permanently in your peronal nodelet

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2017-05-29 14:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?