Home
last modified time | relevance | path

Searched refs:JSON (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/plugin/idoit/
H A Dsyntax.php108 return 'JSON decode error: Maximum stack depth exceeded';
110 return 'JSON decode error: Underflow or the modes mismatch';
112 return 'JSON decode error: Unexpected control character found';
114 return 'JSON decode error: Syntax error, malformed JSON';
116 return 'JSON decode error: Malformed UTF-8 characters, possibly incorrectly encoded';
118 return 'JSON decode error: unknown';
/plugin/api/_test/
H A Dutils.php11 * @var JSON
13 public static $JSON; variable in dokuwiki_plugin_api_util
17 self::$JSON = new JSON(JSON_LOOSE_TYPE);
H A Dpages.test.php20 * @var JSON
22 private static $JSON; variable in dokuwiki_plugin_api_pages_test
27 self::$JSON = new JSON(JSON_LOOSE_TYPE);
70 $data = self::$JSON->decode($response->getContent());
133 $data = self::$JSON->decode($response->getContent());
H A Dpage.test.php20 * @var JSON
22 private static $JSON; variable in dokuwiki_plugin_api_page_test
27 self::$JSON = new JSON(JSON_LOOSE_TYPE);
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
H A Dserializers.asciidoc10 to/from JSON.
18 This allows users to provide raw JSON, or raw strings for certain endpoints that
23 to an empty object (`{}`) so that it is valid JSON for Elasticsearch request
29 encoded as JSON, it is decoded into an array using `json_decode`. Otherwise,
33 endpoints, which return tabular text instead of JSON.
62 When decoding the response body, everything is decoded to JSON from JSON. If
63 the data is not valid JSON, `null` will be returned.
80 The `EverythingToJSONSerializer` tries to convert everything to JSON.
84 JSON for Elasticsearch request bodies.
90 When decoding the response body, everything is decoded to JSON from JSON. If
[all …]
H A Dphp_json_objects.asciidoc2 == Dealing with JSON Arrays and Objects in PHP
4 A common source of confusion with the client revolves around JSON arrays and objects, and how to sp…
6 used in Elasticsearch JSON API, and how to convert that to a PHP representation
10 The Elasticsearch API uses empty JSON objects in several locations, and this can cause problems for…
31 <1> This empty JSON object is what causes problems.
53 <1> We use the generic PHP stdClass object to represent an empty object. The JSON will now encode …
75 <1> "sort" contains an array of JSON objects
122 example, it sometimes requires an array of objects, and some of those objects might be empty JSON o…
161 <3> This encodes the empty JSON object: `"random_score": {}`
H A Dsearch-operations.asciidoc44 Notice how the structure and layout of the PHP array is identical to that of the JSON request body.…
45 simple to convert JSON examples into PHP. A quick method to check your PHP array (for more complex…
46 encode it back to JSON and check by eye:
69 .Using Raw JSON
71 Sometimes it is convenient to use raw JSON for testing purposes, or when migrating from a different…
72 use raw JSON as a string in the body, and the client will detect this automatically:
94 … the same format as Elasticsearch search response, the only difference is that the JSON response is
163 …ause accepts an array of arrays. This will be serialized into an array of JSON objects internally,
165 see <<php_json_objects, Dealing with JSON Arrays and Objects in PHP>>.
/plugin/drawio/
H A Dscript.js98 draft = JSON.parse(draft);
110 var msg = JSON.parse(evt.data);
116 iframe.contentWindow.postMessage(JSON.stringify({action: 'load',
118 iframe.contentWindow.postMessage(JSON.stringify({action: 'status',
133 iframe.contentWindow.postMessage(JSON.stringify({action: 'load',
149 iframe.contentWindow.postMessage(JSON.stringify({action: 'load',
219 dr = JSON.stringify({lastModified: new Date(), xml: msg.xml});
238 iframe.contentWindow.postMessage(JSON.stringify({action: 'export',
240 dr = JSON.stringify({lastModified: new Date(), xml: msg.xml});
245 iframe.contentWindow.postMessage(JSON.stringify({action: 'export',
[all …]
H A Daction.php81 $json = new JSON();
126 $json = new JSON();
135 $json = new JSON();
148 $json = new JSON();
161 $json = new JSON();
/plugin/diagrams/script/
H A Dservice.js20 const msg = JSON.parse( event.originalEvent.data );
24 diagrams.postMessage(JSON.stringify({action: 'load', xml: data}), '*');
27 diagrams.postMessage(JSON.stringify({action: 'load', xml: ''}), '*');
31JSON.stringify( {action: 'export', format: 'xmlsvg', spin: LANG.plugins.diagrams.saving } ),
/plugin/structstatus/
H A Dscript.js30 const value = JSON.parse(response).value;
54 if (set.indexOf(JSON.stringify($self.data('rid'))) === -1) {
87 return [JSON.stringify(set.pop())];
91 return JSON.stringify(entry);
/plugin/sequencediagram/bower_components/lodash/vendor/json-js/
H A Djson2.js169 if (typeof JSON !== 'object') {
170 JSON = {};
378 if (typeof JSON.stringify !== 'function') {
388 JSON.stringify = function (value, replacer, space) {
434 if (typeof JSON.parse !== 'function') {
435 JSON.parse = function (text, reviver) {
/plugin/move/script/
H A Djson2.js162 if (typeof JSON !== 'object') {
163 JSON = {};
358 if (typeof JSON.stringify !== 'function') {
359 JSON.stringify = function (value, replacer, space) {
405 if (typeof JSON.parse !== 'function') {
406 JSON.parse = function (text, reviver) {
/plugin/move/action/
H A Drename.php98 $JSON = new JSON();
104 echo $JSON->encode(array('redirect_url' => wl($dst, '', true, '&')));
111 echo $JSON->encode(array('error' => $error));
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/Exception/
H A DPartialShardFailureException.php5 use Elastica\JSON; alias
27 $this->message = JSON::stringify($shardsStatistics);
/plugin/jsonrpc/
H A Dplugin.info.txt5 name JSON-RPC interface
6 desc JSON-RPC interface to interact with dokuwiki from other Programms using Ajax Request
/plugin/revealjs/plugin/notes/
H A Dnotes.js45 notesPopup.postMessage( JSON.stringify( {
54 var data = JSON.parse( event.data );
72 notesPopup.postMessage( JSON.stringify( {
126 notesPopup.postMessage( JSON.stringify( messageData ), '*' );
/plugin/acmenu/
H A Dscript.js27 var items = JSON.parse(items);
47 var cookie_value = JSON.stringify(_OPEN_ITEMS);
139 var cookie_value = JSON.stringify(_OPEN_ITEMS);
/plugin/tablelayout/script/
H A Dedittable_plugin.js34 $layoutfield.val(JSON.stringify(layout));
45 $layoutfield.val(JSON.stringify(layout));
62 $layoutfield.val(JSON.stringify(layout));
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/Transport/
H A DNullTransport.php5 use Elastica\JSON; alias
78 return new Response(JSON::stringify($response));
/plugin/showpageafterlogin/
H A Daction.php71 $json = new JSON(JSON_LOOSE_TYPE);
80 $json = new JSON();
/plugin/combo/ComboStrap/
H A DMime.php10 public const JSON = "application/json"; define in ComboStrap\\Mime
69 if (in_array($this->mime, [self::SVG, self::JSON])) {
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/Multi/
H A DSearch.php6 use Elastica\JSON; alias
190 $data = JSON::stringify($header)."\n";
191 $data .= JSON::stringify($query->toArray() + $queryOptions)."\n";
/plugin/dirtylittlehelper/mermaid/editor/src/
H A Dcode-store.js23 state = JSON.parse(stateStr);
45 `/${currentLocation || 'edit'}/` + Base64.encodeURI(JSON.stringify(state))
/plugin/findologicxmlexport/vendor/jms/serializer/doc/
H A Dusage.rst21 {{ object | serialize }} {# uses JSON #}
27 You can also deserialize objects from their XML, or JSON representation. For

12345678910>>...12