FromJson

From GTA Network Wiki
Jump to: navigation, search

FromJson
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Function Description

Syntax

dynamic NAPI.Util.FromJson(string json);
T NAPI.Util.FromJson<T>(string/object json);

Required Arguments

  • json: parameter input should be in string type.

NOTE: This function returns data in dynamic or T type.

Usage example(s)

Example Description

int number = NAPI.Util.FromJson<int>(json);

Changelog

Version Description
1.0 Release.

References