Jasonette / Jasonette/JASONETTE-Android

JSON parsing differences between iOS and Android

Open
#227 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.6k
Forks
266
PR merge metrics
No merged PRs in 30d

Description

JSON parsing from a web API is handled differently on iOS and Android. Apparently the problem occurs when an API returns JSON code but no "application/json" content type declaration. See short example demonstrating the problem (and workaround) at [https://www.jasonbase.com/things/Wxzm.json](https://www.jasonbase.com/things/Wxzm.json)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior with the JSON example at https://www.jasonbase.com/things/Wxzm.json, comparing responses with and without the application/json content type. Trace the Android API response parsing entry point and confirm that JSON is handled consistently when the content type is absent, while preserving the documented workaround behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, json
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.