News for hackers. Stuff that matters.
Re:Show HN: JSON-based standard for job posts by lukasm on Monday January 19, 2015 @10:40AM (#8912304)
Can you explain please?
Re:Show HN: JSON-based standard for job posts by tyuwan on Monday January 19, 2015 @10:56AM (#8912380)
In PHP you cannot call $company->remote-friendly as an object. PHP treats it as a minus sign when processing code. This is the same issue when decoding for Javascript.

I would recommend using underscore

Re:Show HN: JSON-based standard for job posts by jtruk on Monday January 19, 2015 @11:18AM (#8912499)
You can in PHP [1] and JavaScript [2] - though neither is pretty, so I'd endorse this suggestion.

[1] http://stackoverflow.com/questions/2925044/hyphens-in-keys-o... [2] http://stackoverflow.com/questions/7122609/how-do-i-referenc...

Re:Show HN: JSON-based standard for job posts by tyuwan on Monday January 19, 2015 @11:29AM (#8912576)
Yup, There is more than one way to handle it but it's not developer-friendly.