Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/ca/weblite/codename1/json/JSONObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ of this software and associated documentation files (the "Software"), to deal
import java.util.List;
import java.util.Map;


/**
* A JSONObject is an unordered collection of name/value pairs. Its
* external form is a string wrapped in curly braces with colons between the
Expand Down Expand Up @@ -1191,6 +1192,9 @@ static String valueToString(Object value) throws JSONException {
if (value == null ) {
return "null";
}
if (value instanceof Null) {
return value.toString();
}
if (value instanceof JSONString) {
Object o;
try {
Expand Down