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.
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 theprepare
script inpackage.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.