Registry / serialization / android-json

android-json

JSON →
library0.0.20131108.vaadin1javamavenunverified

Android-compatible implementation of the org.json JSON library, extracted from the Android SDK.

<dependency> <groupId>com.vaadin.external.google</groupId> <artifactId>android-json</artifactId> <version>0.0.20131108.vaadin1</version> </dependency>
INSTALL
IMPORT
SIG · ANDROID-JSON
A
android-json
serializationjavav0.0.20131108.vaadin1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JSONObject
org.json.JSONObject

Parses a JSON string and retrieves a value.

import org.json.JSONObject; public class Quickstart { public static void main(String[] args) throws Exception { JSONObject json = new JSONObject("{\"name\":\"test\"}"); System.out.println(json.getString("name")); } }
Debug
Known issues
gotchaThis library is not the official org.json library; it's an Android fork with potential behavioral differences.
fix
Use the official org.json:json library if you need standard behavior.
affects: all
Upgrade
Version history
0.0.20131108.vaadin1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
30
Meta
1
OpenAI (training)
1
Resources
android-json — mvn dependency:get android-json · libregistry