JsonConverter implements IConverter
Table of Contents
Interfaces
Methods
- isValid() : bool
- Check string.
- toArray() : BlockContent
- Parse string of json content to an array of content blocks.
Methods
isValid()
Check string.
public
static isValid(string $string) : bool
Parameters
- $string : string
-
String.
Return values
booltoArray()
Parse string of json content to an array of content blocks.
public
static toArray(string $string) : BlockContent
Parameters
- $string : string
-
String.