KspData Class KerbalData - KSP Data Unlocked!
Single file loading helper method class. Can be used to load/save and convert individual data items/files
Remarks

This permanent helper class is also consumed by the and may be used by other file system based repositories.

Examples

Multiple methods in this class have parameters for either a configuration section name to automatically configure a ProcessorRegistry for use in serialization. The other accepts an instance of KspProcessor T  to use for serialization

<configuration> 
  <configSections> 
    <section name="kerbalData" type="KerbalData.Configuration.ApiConfig, KerbalData"/> 
  </configSections> 
  <kerbalData> 
    <processors> 
      <processor index="0"> 
        <serializer type="KerbalData.Serialization.Serializers.V018x.DataSerializer, KerbalData"/> 
        <converter type="KerbalData.Serialization.Serializers.V018x.JsonModelConverter`1, KerbalData"/> 
      </processor> 
      <processor index="1" modelType="Newtonsoft.Json.Linq.JObject, Newtonsoft.Json"> 
        <serializer type="KerbalData.Serialization.Serializers.V018x.DataSerializer, KerbalData"/> 
        <converter type="KerbalData.Serialization.Serializers.V018x.JsonObjectConverter`1, KerbalData"/> 
      </processor> 
    </processors> 
  </kerbalData> 
</configuration>
Inheritance Hierarchy

Online System Object
  KerbalData KspData

Namespace: KerbalData
Assembly: KerbalData (in KerbalData.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static class KspData
See Also