Excelption #1
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Hi I keep getting and error when I parse data in the following format, sadly this comes from a 3rd party API so I cant change it
I dont think it likes the structure with the DATA at the top but im unsure how I can get round it
The error is
PHP Fatal error: Uncaught exception 'JSONStreamException' with message 'unexpected token at offset 0:
Hi. It's interesting that you've found this repo :)
I suspect you copy-pasted the example with enterArray() at the upper level, which is incorrect for objects. Call enterObject() to enter the top-level object, like:
You'll probably want to make multiple enterXXX() calls. For example, call enterArray() in the above example when $k is equal to "Data"...