Searched refs:jsonObj (Results 1 – 6 of 6) sorted by relevance
422 JSONObject jsonObj = new JSONObject(); in toJson() local423 jsonObj.put(PAIRING_REQUEST_FIELD_SERVICE_NAME, message.getServiceName()); in toJson()425 jsonObj.put(PAIRING_REQUEST_FIELD_CLIENT_NAME, message.getClientName()); in toJson()427 return jsonObj; in toJson()436 JSONObject jsonObj = new JSONObject(); in toJson() local438 jsonObj.put(PAIRING_REQUEST_ACK_FIELD_SERVER_NAME, in toJson()441 return jsonObj; in toJson()450 JSONObject jsonObj = new JSONObject(); in toJson() local456 jsonObj.put(OPTIONS_FIELD_INPUT_ENCODINGS, inEncsArray); in toJson()462 jsonObj.put(OPTIONS_FIELD_OUTPUT_ENCODINGS, outEncsArray); in toJson()[all …]
209 JSONObject jsonObj = body.getJSONObject( in getPairingRequest() local211 String serviceName = jsonObj.getString( in getPairingRequest()214 if (jsonObj.has(PAIRING_REQUEST_FIELD_CLIENT_NAME)) { in getPairingRequest()215 clientName = jsonObj.getString(PAIRING_REQUEST_FIELD_CLIENT_NAME); in getPairingRequest()233 JSONObject jsonObj = body.getJSONObject( in getPairingRequestAck() local236 if (jsonObj.has(PAIRING_REQUEST_ACK_FIELD_SERVER_NAME)) { in getPairingRequestAck()237 serverName = jsonObj.getString(PAIRING_REQUEST_ACK_FIELD_SERVER_NAME); in getPairingRequestAck()472 JSONObject jsonObj = new JSONObject(); in toXML() local474 jsonObj.put(MESSAGE_CONTAINER_NAME_PAIRING_REQUEST, pairingReq); in toXML()482 return XML.toString(jsonObj); in toXML()[all …]
277 …RefPtr<TypeBuilder::Console::ConsoleMessage> jsonObj = TypeBuilder::Console::ConsoleMessage::creat… in sendConsoleMessageToFrontend() local283 jsonObj->setType(messageTypeValue(consoleMessage->type())); in sendConsoleMessageToFrontend()284 jsonObj->setLine(static_cast<int>(consoleMessage->lineNumber())); in sendConsoleMessageToFrontend()285 jsonObj->setColumn(static_cast<int>(consoleMessage->columnNumber())); in sendConsoleMessageToFrontend()287 jsonObj->setScriptId(String::number(consoleMessage->scriptId())); in sendConsoleMessageToFrontend()288 jsonObj->setUrl(consoleMessage->url()); in sendConsoleMessageToFrontend()291 jsonObj->setExecutionContextId(m_injectedScriptManager->injectedScriptIdFor(scriptState)); in sendConsoleMessageToFrontend()293 … jsonObj->setNetworkRequestId(IdentifiersFactory::requestId(consoleMessage->requestIdentifier())); in sendConsoleMessageToFrontend()318 jsonObj->setParameters(jsonArgs); in sendConsoleMessageToFrontend()322 jsonObj->setStackTrace(consoleMessage->callStack()->buildInspectorArray()); in sendConsoleMessageToFrontend()[all …]
453 JSONObject jsonObj = new JSONObject(jsonString); in braille() local456 data.setText(jsonObj.getString("text")); in braille()457 data.setSelectionStart(jsonObj.getInt("startIndex")); in braille()458 data.setSelectionEnd(jsonObj.getInt("endIndex")); in braille()
271 JSONObject jsonObj = new JSONObject(new JSONTokener(jsonString)); in getJsonValue() local272 if (!jsonObj.has(key.name().toLowerCase())) { in getJsonValue()277 String parsedJsonString = jsonObj.getString(key.name().toLowerCase()); in getJsonValue()
80 JSON.stringify = function(jsonObj, opt_replacer, opt_space) {}; argument