JSONユーティリティメソッドを提供するクラス

Class to provide JSON utility methods

Hierarchy

  • JsonUtil

Constructors

Methods

Constructors

Methods

  • JSON文字列をオブジェクトに変換

    Convert a JSON string to an object

    Example

    const obj = jsonToObj('{"message":"hello"}'); // { message: 'hello' }
    

    Parameters

    • json: string

      JSON文字列。 JSON string.

    Returns object

    オブジェクト。 Object.

Generated using TypeDoc