Lines Matching defs:jsonArray
220 public static function createFromArray(ResourceCombo $page, array $jsonArray): MetadataFrontmatterStore
222 return new MetadataFrontmatterStore($page, $jsonArray);
233 $jsonArray = self::frontMatterMatchToAssociativeArray($frontmatter);
234 if ($jsonArray === null) {
237 $frontmatter = new MetadataFrontmatterStore($page, $jsonArray);
297 $jsonArray = $this->getData();
298 ksort($jsonArray);
299 return self::toFrontmatterJsonString($jsonArray);
306 * @param $jsonArray
309 public static function toFrontmatterJsonString($jsonArray): string
312 if (sizeof($jsonArray) === 0) {
316 self::jsonFlatRecursiveEncoding($jsonArray, $jsonString);
431 $jsonArray = $this->getData();
432 ksort($jsonArray);
433 $jsonEncode = self::toFrontmatterJsonString($jsonArray);