C# Class AcTools.Utils.Helpers.JsonExtension

Mostra file Open project: gro-ove/actools

Public Methods

Method Description
GetGeoTagsValueOnly ( this obj, [ key ) : GeoTagsEntry
GetIntValueOnly ( this obj, [ key ) : int?
GetStringValueOnly ( this obj, [ key ) : string
Parse ( [ data ) : JObject
ToJObject ( this geoTagsEntry ) : JArray
TryToRestore ( [ damagedJson, JObjectRestorationScheme scheme ) : JObject

Private Methods

Method Description
DequoteString ( [ s ) : string

Method Details

GetGeoTagsValueOnly() public static method

public static GetGeoTagsValueOnly ( this obj, [ key ) : GeoTagsEntry
obj this
key [
return GeoTagsEntry

GetIntValueOnly() public static method

public static GetIntValueOnly ( this obj, [ key ) : int?
obj this
key [
return int?

GetStringValueOnly() public static method

public static GetStringValueOnly ( this obj, [ key ) : string
obj this
key [
return string

Parse() public static method

public static Parse ( [ data ) : JObject
data [
return JObject

ToJObject() public static method

public static ToJObject ( this geoTagsEntry ) : JArray
geoTagsEntry this
return JArray

TryToRestore() public static method

public static TryToRestore ( [ damagedJson, JObjectRestorationScheme scheme ) : JObject
damagedJson [
scheme JObjectRestorationScheme
return JObject