Function |to_json

json::|to_json


Usage

|to_json(text)

Parameters

↳ text: string

Return

↴ Option<Json>


Parse text into a Json value, returning none if text is not valid JSON.