Skip to content
This repository has been archived by the owner on Aug 24, 2019. It is now read-only.

Allow JSON fragments #5

Closed
kayleg opened this issue Sep 20, 2012 · 1 comment
Closed

Allow JSON fragments #5

kayleg opened this issue Sep 20, 2012 · 1 comment

Comments

@kayleg
Copy link

kayleg commented Sep 20, 2012

If the message only contains a simple object (not an array or dictionary) the JSON parsing will fail unless this option is enabled.

BLYClient.m

eventMessage = [NSJSONSerialization JSONObjectWithData:eventMessageData options:NSJSONReadingAllowFragments error:nil];

@soffes soffes closed this as completed in c5ba9a3 Sep 30, 2012
@soffes
Copy link
Owner

soffes commented Sep 30, 2012

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants