Home
last modified time | relevance | path

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

12345678910>>...18

/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 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 Dutils.php11 * @var JSON
13 public static $JSON; variable in dokuwiki_plugin_api_util
17 self::$JSON = new JSON(JSON_LOOSE_TYPE);
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 JSON.
26 If the data is an array, it is converted to JSON. If the data provided was an
27 empty array, the serializer manually converts the JSON from an empty array
28 (`[]`) to an empty object (`{}`) so that it is valid JSON for {es} request
41 endpoints, which return tabular text instead of JSON.
83 When decoding the response body, everything is decoded to JSON from JSON. If the
84 data is not valid JSON, `null` will be returned.
112 The `EverythingToJSONSerializer` tries to convert everything to JSON.
116 JSON for Elasticsearch request bodies.
125 When decoding the response body, everything is decoded to JSON from JSON. If the
[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
7 used in {es} JSON API and how to convert that to a PHP representation.
12 The {es} API uses empty JSON objects in several locations which can cause
34 <1> This empty JSON object is what causes problems.
58 JSON now encodes correctly.
83 <1> "sort" contains an array of JSON objects.
133 objects, and some of those objects might be empty JSON objects.
173 <3> This encodes the empty JSON object: `"random_score": {}`
H A Dsearch-operations.asciidoc50 JSON request body. This makes it very simple to convert JSON examples into PHP.
52 it back to JSON and check it:
75 .Using Raw JSON
77 Sometimes it is convenient to use raw JSON for testing purposes, or when
78 migrating from a different system. You can use raw JSON as a string in the body,
103 difference is that the JSON response is serialized back into PHP arrays. Working
179 into an array of JSON objects internally, so the final resulting output is
181 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/diagramsnet/
H A Dscript.js18 var msg = JSON.parse(evt.data);
32 …iframe.contentWindow.postMessage(JSON.stringify({action: 'load', autosave: 1, xmlpng: result.cont…
48 …iframe.contentWindow.postMessage(JSON.stringify({action: 'export', format: 'xmlpng', xml: xmlData,…
73 …iframe.contentWindow.postMessage(JSON.stringify({action: 'status', message: save_msg, modified: fa…
/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/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/elasticsearch/vendor/ruflin/elastica/src/Exception/
H A DPartialShardFailureException.php5 use Elastica\JSON; alias
24 $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/diagramsnet/lib/plugins/
H A DcConf-comments.js267 var tmpComments = JSON.parse(JSON.stringify(confComments));
320 var tmpComments = JSON.parse(JSON.stringify(confComments));
359 var tmpComments = JSON.parse(JSON.stringify(confComments));
388 var tmpComments = JSON.parse(JSON.stringify(confComments));
/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/acmenu/
H A Dscript.js28 var items = JSON.parse(items);
48 var cookie_value = JSON.stringify(_OPEN_ITEMS);
140 var cookie_value = JSON.stringify(_OPEN_ITEMS);
/plugin/diagramsnet/lib/js/diagramly/
H A DInit.js70 if (lang == null && typeof(JSON) != 'undefined')
81 lang = JSON.parse(value).language || null;
233 if (ui == null && isLocalStorage && typeof JSON !== 'undefined' && urlParams['lightbox'] != '1')
241 ui = JSON.parse(value).ui || null;
302 if (typeof JSON !== 'undefined')
314 showSplash = JSON.parse(value).showStartScreen;
H A DSettings.js43 value = JSON.parse(value);
50 localStorage.setItem('.drawio-config', JSON.stringify(value));
252 if (isLocalStorage && typeof(JSON) !== 'undefined')
258 localStorage.setItem(mxSettings.key, JSON.stringify(mxSettings.settings));
268 if (isLocalStorage && typeof(JSON) !== 'undefined')
280 var config = (value != null) ? JSON.parse(value) : null;
/plugin/elasticsearch/vendor/ruflin/elastica/src/Transport/
H A DNullTransport.php5 use Elastica\JSON; alias
76 return new Response(JSON::stringify($response));
/plugin/elasticsearch/vendor/ruflin/elastica/src/Multi/
H A DSearch.php6 use Elastica\JSON; alias
164 $data = JSON::stringify($header)."\n";
165 $data .= JSON::stringify($query->toArray() + $queryOptions)."\n";

12345678910>>...18