Lines Matching defs:jsonString
194 $jsonString = self::stripFrontmatterTag($match);
197 if (trim($jsonString) == "") {
203 return json_decode($jsonString, $arrayFormat);
315 $jsonString = "";
316 self::jsonFlatRecursiveEncoding($jsonArray, $jsonString);
322 $decoding = json_decode($jsonString);
326 return $jsonString;
329 private static function jsonFlatRecursiveEncoding(array $jsonProperty, &$jsonString, $level = 0, $endOfFieldCharacter = DOKU_LF, $type = Json::TYPE_OBJECT, $parentType = Json::TYPE_OBJECT)
335 $jsonString .= "{";
337 $jsonString .= "[";
359 $jsonString .= DOKU_LF;
362 $jsonString .= ",$endOfFieldCharacter";
369 $jsonString .= $tab;
387 $jsonString .= "$jsonEncodedKey: ";
394 self::jsonFlatRecursiveEncoding($value, $jsonString, $childLevel, $childEndOField, $childType, $type);
401 $jsonString .= "$jsonEncodedKey: $jsonEncodedValue";
413 $jsonString .= DOKU_LF . $closingLevelSpaceIndentation;
415 $jsonString .= " ";
417 $jsonString .= "}";
422 $jsonString .= DOKU_LF . $closingLevelSpaceIndentation . "]";