JsonSyncFile

Namespace: uModIO

Assembly: uMod.Core.dll

Inheritance ObjectDataFileJsonFile JsonSyncFile

Implements IDataFile, IDataObject, IEnumerable<KeyValuePair<String, Object>>, IEnumerable

Summary

Represents a json synchronized file

Constructors

Name

Summary

JsonSyncFile (String, JsonSerializerSettings)

Create a new json synchronized file with optional serializer settings

Properties

Name

Summary

Item [ String ]

Gets or sets a setting on this config by key

Item [ String ]

Gets or sets a setting on this config by key

Item [ String ]

Gets or sets a setting on this config by key

Methods

Name

Summary

Clear ()

Clears this config

FromString (String)

Deserialize data from json string

Get<T> (String[])

Gets a configuration value at the specified path and converts it to the specified type

Get (String[])

Gets a configuration value at the specified path

GetEnumerator ()

LoadFile ()

Load json file

Remove (String)

SaveFile ()

Save json file

Set (Object[])

Sets a configuration value at the specified path

ToString ()

Serialize data to json string