Bitrix API

JsonConverter implements IConverter

Table of Contents

Interfaces

IConverter

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
bool

toArray()

Parse string of json content to an array of content blocks.

public static toArray(string $string) : BlockContent
Parameters
$string : string

String.

Return values
BlockContent

        
On this page

Search results