HomeSort by relevance Sort by last modified time
    Searched full:jsonobject (Results 26 - 50 of 135) sorted by null

12 3 4 5 6

  /libcore/json/src/test/java/org/json/
ParsingTest.java 40 assertParsed(JSONObject.NULL, "null");
41 assertParsed(JSONObject.NULL, "NULL");
224 private JSONObject object(Object... keyValuePairs) throws JSONException {
225 JSONObject result = new JSONObject();
256 } else if (input instanceof JSONObject) {
257 JSONObject object = (JSONObject) input;
264 } else if (input == null || input.equals(JSONObject.NULL)) {
265 return JSONObject.NULL
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorDOMAgent.h 134 virtual void setInspectModeEnabled(ErrorString*, bool enabled, const bool* inspectShadowDOM, const RefPtr<JSONObject>* highlightConfig);
140 virtual void highlightRect(ErrorString*, int x, int y, int width, int height, const RefPtr<JSONObject>* color, const RefPtr<JSONObject>* outlineColor);
141 virtual void highlightQuad(ErrorString*, const RefPtr<JSONArray>& quad, const RefPtr<JSONObject>* color, const RefPtr<JSONObject>* outlineColor);
142 virtual void highlightNode(ErrorString*, const RefPtr<JSONObject>& highlightConfig, const int* nodeId, const String* objectId);
143 virtual void highlightFrame(ErrorString*, const String& frameId, const RefPtr<JSONObject>* color, const RefPtr<JSONObject>* outlineColor);
212 void setSearchingForNode(ErrorString*, SearchMode, JSONObject* highlightConfig);
213 PassOwnPtr<HighlightConfig> highlightConfigFromInspectorObject(ErrorString*, JSONObject* highlightInspectorObject)
    [all...]
InspectorAgent.h 46 class JSONObject;
81 void inspect(PassRefPtr<TypeBuilder::Runtime::RemoteObject> objectToInspect, PassRefPtr<JSONObject> hints);
91 pair<RefPtr<TypeBuilder::Runtime::RemoteObject>, RefPtr<JSONObject> > m_pendingInspectData;
InspectorDOMDebuggerAgent.h 50 class JSONObject;
99 void pauseOnNativeEventIfNeeded(PassRefPtr<JSONObject> eventData, bool synchronous);
100 PassRefPtr<JSONObject> preparePauseOnNativeEventData(bool isDOMEvent, const String& eventName);
109 void descriptionForDOMEvent(Node* target, int breakpointType, bool insertion, JSONObject* description);
InspectorTimelineAgent.cpp 141 TimelineRecordEntry(PassRefPtr<JSONObject> record, PassRefPtr<JSONObject> data, PassRefPtr<JSONArray> children, const String& type, size_t usedHeapSizeAtStart)
145 RefPtr<JSONObject> record;
146 RefPtr<JSONObject> data;
155 Entry(PassRefPtr<JSONObject> record)
161 RefPtr<JSONObject> record;
169 void addScopedRecord(PassRefPtr<JSONObject> record);
171 void addInstantRecord(PassRefPtr<JSONObject> record);
178 void send(PassRefPtr<JSONObject>);
254 RefPtr<JSONObject> record = TimelineRecordFactory::createGenericRecord(m_timeConverter.fromMonotonicallyIncreasingTi (…)
    [all...]
InspectorDebuggerAgent.h 54 class JSONObject;
98 virtual void setBreakpoint(ErrorString*, const RefPtr<JSONObject>& location, const String* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuilder::Debugger::Location>& actualLocation);
100 virtual void continueToLocation(ErrorString*, const RefPtr<JSONObject>& location, const bool* interstateLocationOpt);
105 virtual void setScriptSource(ErrorString*, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, const String& scriptId, const String& newContent, const bool* preview, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> >& newCallFrames, RefPtr<JSONObject>& result, RefPtr<TypeBuilder::Debugger::StackTrace>& asyncStackTrace);
106 virtual void restartFrame(ErrorString*, const String& callFrameId, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> >& newCallFrames, RefPtr<JSONObject>& result, RefPtr<TypeBuilder::Debugger::StackTrace>& asyncStackTrace);
128 virtual void setVariableValue(ErrorString*, int in_scopeNumber, const String& in_variableName, const RefPtr<JSONObject>& in_newValue, const String* in_callFrame, const String* in_functionObjectId);
132 void schedulePauseOnNextStatement(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data);
143 void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data);
221 RefPtr<JSONObject> m_breakAuxData;
InjectedScriptCanvasModule.cpp 165 RefPtr<JSONObject> resultObject = resultValue->asObject();
166 RefPtr<JSONObject> resourceStateObject = resultObject->getObject("resourceState");
205 RefPtr<JSONObject> resultObject = resultValue->asObject();
206 RefPtr<JSONObject> remoteObject = resultObject->getObject("result");
209 RefPtr<JSONObject> resourceStateObject = resultObject->getObject("resourceState");
InspectorDebuggerAgent.cpp 135 m_state->setObject(DebuggerAgentState::javaScriptBreakpoints, JSONObject::create());
282 static PassRefPtr<JSONObject> buildObjectForBreakpointCookie(const String& url, int lineNumber, int columnNumber, const String& condition, bool isRegex, bool isAnti)
284 RefPtr<JSONObject> breakpointObject = JSONObject::create();
328 RefPtr<JSONObject> breakpointsCookie = m_state->getObject(DebuggerAgentState::javaScriptBreakpoints);
350 static bool parseLocation(ErrorString* errorString, PassRefPtr<JSONObject> location, String* scriptId, int* lineNumber, int* columnNumber)
362 void InspectorDebuggerAgent::setBreakpoint(ErrorString* errorString, const RefPtr<JSONObject>& location, const String* const optionalCondition, BreakpointId* outBreakpointId, RefPtr<TypeBuilder::Debugger::Location>& actualLocation)
388 RefPtr<JSONObject> breakpointsCookie = m_state->getObject(DebuggerAgentState::javaScriptBreakpoints);
389 JSONObject::iterator it = breakpointsCookie->find(breakpointId);
392 RefPtr<JSONObject> breakpointObject = it->value->asObject()
    [all...]
InspectorDatabaseResource.cpp 57 RefPtr<TypeBuilder::Database::Database> jsonObject = TypeBuilder::Database::Database::create()
62 frontend->addDatabase(jsonObject);
InspectorWorkerAgent.h 41 class JSONObject;
67 virtual void sendMessageToWorker(ErrorString*, int workerId, const RefPtr<JSONObject>& message);
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
RawContact.java 21 import org.json.JSONObject;
140 public JSONObject toJSONObject() {
141 JSONObject json = new JSONObject();
172 Log.i(TAG, "Error converting RawContact to JSONObject" + ex.toString());
202 * @param user The JSONObject containing user data
205 public static RawContact valueOf(JSONObject contact) {
  /libcore/json/src/main/java/org/json/
JSONArray.java 29 * {@link JSONObject JSONObjects}, other {@link JSONArray JSONArrays}, Strings,
30 * Booleans, Integers, Longs, Doubles, {@code null} or {@link JSONObject#NULL}.
35 * optional/mandatory accessors as {@link JSONObject}. See that class'
40 * JSONObject#NULL}. In particular, {@code get} fails if the requested index
41 * holds the null reference, but succeeds if it holds {@code JSONObject.NULL}.
73 put(JSONObject.wrap(it.next()));
121 put(JSONObject.wrap(Array.get(array, i)));
177 * @param value a {@link JSONObject}, {@link JSONArray}, String, Boolean,
178 * Integer, Long, Double, {@link JSONObject#NULL}, or {@code null}. May
240 * @param value a {@link JSONObject}, {@link JSONArray}, String, Boolean
    [all...]
JSONStringer.java 26 * Implements {@link JSONObject#toString} and {@link JSONArray#toString}. Most
29 * JSONObject object = ...
47 * output. To encode indented output, use {@link JSONObject#toString(int)} or
105 * JSONObject.quote() only. Not used for JSON encoding.
222 * @param value a {@link JSONObject}, {@link JSONArray}, String, Boolean,
236 } else if (value instanceof JSONObject) {
237 ((JSONObject) value).writeTo(this);
245 || value == JSONObject.NULL) {
249 out.append(JSONObject.numberToString((Number) value));
284 out.append(JSONObject.numberToString(value))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
XSSAuditorDelegate.cpp 87 RefPtr<JSONObject> reportDetails = JSONObject::create();
91 RefPtr<JSONObject> reportObject = JSONObject::create();
  /external/chromium_org/third_party/WebKit/Source/core/frame/
GraphicsLayerDebugInfo.cpp 34 RefPtr<JSONObject> rectContainer = JSONObject::create();
  /external/chromium_org/v8/test/mjsunit/regress/
regress-241344.js 37 var jsonobject = JSON.parse(jsonstring); variable
39 assertEquals(0.2, jsonobject[i]);
  /development/samples/Wiktionary/src/com/example/android/wiktionary/
SimpleWikiHelper.java 27 import org.json.JSONObject;
148 JSONObject response = new JSONObject(content);
149 JSONObject query = response.getJSONObject("query");
150 JSONObject pages = query.getJSONObject("pages");
151 JSONObject page = pages.getJSONObject((String) pages.keys().next());
153 JSONObject revision = revisions.getJSONObject(0);
  /development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
SimpleWikiHelper.java 27 import org.json.JSONObject;
155 JSONObject response = new JSONObject(content);
156 JSONObject query = response.getJSONObject("query");
157 JSONObject pages = query.getJSONObject("pages");
158 JSONObject page = pages.getJSONObject((String) pages.keys().next());
160 JSONObject revision = revisions.getJSONObject(0);
  /external/chromium_org/chrome/browser/resources/net_internals/
chromeos_view.js 73 var jsonObject;
76 jsonObject = JSON.parse(fileContent);
79 if (jsonObject &&
80 jsonObject.hasOwnProperty('Type') &&
81 jsonObject.Type == 'EncryptedConfiguration') {
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
ScriptValue.cpp 100 RefPtr<JSONObject> jsonObject = JSONObject::create();
113 jsonObject->setValue(nameString, propertyValue);
115 return jsonObject;
  /frameworks/base/docs/html/sdk/api_diff/19/changes/
org.json.JSONObject.html 10 org.json.JSONObject
74 Class org.json.<A HREF="../../../../reference/org/json/JSONObject.html" target="_top"><font size="+2"><code>JSONObject</code></font></A>
86 <A NAME="org.json.JSONObject.wrap_added(java.lang.Object)"></A>
87 <nobr><code>Object</code>&nbsp;<A HREF="../../../../reference/org/json/JSONObject.html#wrap(java.lang.Object)" target="_top"><code>wrap</code></A>(<code>Object</code>)</nobr>
  /external/chromium/chrome/common/extensions/docs/examples/apps/hello-java/
HelloLicenseServlet.java 24 import com.google.appengine.repackaged.org.json.JSONObject;
94 JSONObject json = new JSONObject(file);
  /external/chromium/chrome/common/extensions/docs/examples/apps/hello-java/workspace/HelloLicense/src/com/example/
HelloLicenseServlet.java 24 import com.google.appengine.repackaged.org.json.JSONObject;
94 JSONObject json = new JSONObject(file);
  /external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-java/
HelloLicenseServlet.java 23 import com.google.appengine.repackaged.org.json.JSONObject;
93 JSONObject json = new JSONObject(file);
  /external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/
AppRTCClient.java 36 import org.json.JSONObject;
285 JSONObject json = new JSONObject(mediaConstraintsString);
310 JSONObject json = new JSONObject(jsonString);
311 JSONObject mandatoryJSON = json.optJSONObject("mandatory");
326 JSONObject keyValueDict = optionalJSON.getJSONObject(i);
368 JSONObject responseJSON = new JSONObject(response);
386 JSONObject json = new JSONObject(pcConfig)
    [all...]

Completed in 443 milliseconds

12 3 4 5 6