Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Add fragmentsAllowed option to JSONSerialization.jsonObject #254

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

christianidas
Copy link

We have a request to an API that is returning a JSON string (not an object). We'd like to have this response parsed, but the option for fragmentsAllowed is needed in order to parse non-object JSON. This change should allow those JSON strings, numbers, booleans, etc. to be parsed in addition to objects.

Note: The npm run build added to the prepare script in package.json allows us to install the capacitor plugin from a github repository, which we're doing in the meantime. This can be removed if desired, as it's not needed when the plugin is published in an npm registry.

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

Successfully merging this pull request may close these issues.

1 participant