Jumpvalley 0.5.0
An app and library that can be used to test and run 3D platformer levels. Currently being made with Godot.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Jumpvalley.IO.JsonInfoFile Class Reference

Class intended to help with using the data from info files written in JavaScript Object Notation (JSON).

Info files are files that contain metadata about an object (e.g. one that's on a filesystem).

The conventional file name for JSON info files is info.json. More...

Inheritance diagram for Jumpvalley.IO.JsonInfoFile:
Jumpvalley.Levels.LevelInfo Jumpvalley.Music.SongInfo

Public Member Functions

 JsonInfoFile ()
 Zero-parameter constructor for cases where extracting data from JSON text isn't needed.
 
 JsonInfoFile (JsonNode data)
 Reads a JSON info file from its raw text and stores such data in the RawData field.
 

Public Attributes

JsonNode Data
 The JSON node containing the info file's data. This is the root node of the info file's JSON content.
 

Static Public Attributes

static readonly string FILE_NAME = "info.json"
 The full file name of a JSON info file stored somewhere on a filesystem, including the file extension.
 

Detailed Description

Class intended to help with using the data from info files written in JavaScript Object Notation (JSON).

Info files are files that contain metadata about an object (e.g. one that's on a filesystem).

The conventional file name for JSON info files is info.json.

Constructor & Destructor Documentation

◆ JsonInfoFile()

Jumpvalley.IO.JsonInfoFile.JsonInfoFile ( JsonNode data)
inline

Reads a JSON info file from its raw text and stores such data in the RawData field.

Parameters
dataThe root node of the info file's JSON content

The documentation for this class was generated from the following file: