Example #1
0
 public sections(JObject obj)
 {
     this.Truthy  = JsonClassHelper.ReadStronglyTypedObject <Truthy>(JsonClassHelper.GetJToken <JObject>(obj, "Truthy"));
     this.Falsey  = JsonClassHelper.ReadStronglyTypedObject <Falsey>(JsonClassHelper.GetJToken <JObject>(obj, "Falsey"));
     this.Context = JsonClassHelper.ReadStronglyTypedObject <Context>(JsonClassHelper.GetJToken <JObject>(obj, "Context"));
     this.DeeplyNestedContexts = JsonClassHelper.ReadStronglyTypedObject <DeeplyNestedContexts>(JsonClassHelper.GetJToken <JObject>(obj, "DeeplyNestedContexts"));
     this.List                          = JsonClassHelper.ReadStronglyTypedObject <List>(JsonClassHelper.GetJToken <JObject>(obj, "List"));
     this.EmptyList                     = JsonClassHelper.ReadStronglyTypedObject <EmptyList>(JsonClassHelper.GetJToken <JObject>(obj, "EmptyList"));
     this.Doubled                       = JsonClassHelper.ReadStronglyTypedObject <Doubled>(JsonClassHelper.GetJToken <JObject>(obj, "Doubled"));
     this.NestedTruthy                  = JsonClassHelper.ReadStronglyTypedObject <NestedTruthy>(JsonClassHelper.GetJToken <JObject>(obj, "NestedTruthy"));
     this.NestedFalsey                  = JsonClassHelper.ReadStronglyTypedObject <NestedFalsey>(JsonClassHelper.GetJToken <JObject>(obj, "NestedFalsey"));
     this.ImplicitIteratorString        = JsonClassHelper.ReadStronglyTypedObject <ImplicitIteratorString>(JsonClassHelper.GetJToken <JObject>(obj, "ImplicitIteratorString"));
     this.ImplicitIteratorInteger       = JsonClassHelper.ReadStronglyTypedObject <ImplicitIteratorInteger>(JsonClassHelper.GetJToken <JObject>(obj, "ImplicitIteratorInteger"));
     this.ImplicitIteratorDecimal       = JsonClassHelper.ReadStronglyTypedObject <ImplicitIteratorDecimal>(JsonClassHelper.GetJToken <JObject>(obj, "ImplicitIteratorDecimal"));
     this.DottedNamesTruthy             = JsonClassHelper.ReadStronglyTypedObject <DottedNamesTruthy>(JsonClassHelper.GetJToken <JObject>(obj, "DottedNamesTruthy"));
     this.DottedNamesFalsey             = JsonClassHelper.ReadStronglyTypedObject <DottedNamesFalsey>(JsonClassHelper.GetJToken <JObject>(obj, "DottedNamesFalsey"));
     this.DottedNamesBrokenChains       = JsonClassHelper.ReadStronglyTypedObject <DottedNamesBrokenChains>(JsonClassHelper.GetJToken <JObject>(obj, "DottedNamesBrokenChains"));
     this.SurroundingWhitespace         = JsonClassHelper.ReadStronglyTypedObject <SurroundingWhitespace>(JsonClassHelper.GetJToken <JObject>(obj, "SurroundingWhitespace"));
     this.InternalWhitespace            = JsonClassHelper.ReadStronglyTypedObject <InternalWhitespace>(JsonClassHelper.GetJToken <JObject>(obj, "InternalWhitespace"));
     this.IndentedInlineSections        = JsonClassHelper.ReadStronglyTypedObject <IndentedInlineSections>(JsonClassHelper.GetJToken <JObject>(obj, "IndentedInlineSections"));
     this.StandaloneLines               = JsonClassHelper.ReadStronglyTypedObject <StandaloneLines>(JsonClassHelper.GetJToken <JObject>(obj, "StandaloneLines"));
     this.IndentedStandaloneLines       = JsonClassHelper.ReadStronglyTypedObject <IndentedStandaloneLines>(JsonClassHelper.GetJToken <JObject>(obj, "IndentedStandaloneLines"));
     this.StandaloneLineEndings         = JsonClassHelper.ReadStronglyTypedObject <StandaloneLineEndings>(JsonClassHelper.GetJToken <JObject>(obj, "StandaloneLineEndings"));
     this.StandaloneWithoutPreviousLine = JsonClassHelper.ReadStronglyTypedObject <StandaloneWithoutPreviousLine>(JsonClassHelper.GetJToken <JObject>(obj, "StandaloneWithoutPreviousLine"));
     this.StandaloneWithoutNewline      = JsonClassHelper.ReadStronglyTypedObject <StandaloneWithoutNewline>(JsonClassHelper.GetJToken <JObject>(obj, "StandaloneWithoutNewline"));
     this.Padding                       = JsonClassHelper.ReadStronglyTypedObject <Padding>(JsonClassHelper.GetJToken <JObject>(obj, "Padding"));
 }
Example #2
0
 public DeeplyNestedContexts(JObject obj)
 {
     this.a = JsonClassHelper.ReadStronglyTypedObject <A>(JsonClassHelper.GetJToken <JObject>(obj, "a"));
     this.b = JsonClassHelper.ReadStronglyTypedObject <B>(JsonClassHelper.GetJToken <JObject>(obj, "b"));
     this.c = JsonClassHelper.ReadStronglyTypedObject <C>(JsonClassHelper.GetJToken <JObject>(obj, "c"));
     this.d = JsonClassHelper.ReadStronglyTypedObject <D>(JsonClassHelper.GetJToken <JObject>(obj, "d"));
     this.e = JsonClassHelper.ReadStronglyTypedObject <E>(JsonClassHelper.GetJToken <JObject>(obj, "e"));
 }
Example #3
0
 public InlineIndentation(JObject obj)
 {
     this.data = JsonClassHelper.ReadString(JsonClassHelper.GetJToken <JValue>(obj, "data"));
 }
Example #4
0
 public D(JObject obj)
 {
     this.four = JsonClassHelper.ReadInteger(JsonClassHelper.GetJToken <JValue>(obj, "four"));
 }
Example #5
0
 public B(JObject obj)
 {
     this.two = JsonClassHelper.ReadInteger(JsonClassHelper.GetJToken <JValue>(obj, "two"));
 }
Example #6
0
 public Context(JObject obj)
 {
     this.context = JsonClassHelper.ReadStronglyTypedObject <Context2>(JsonClassHelper.GetJToken <JObject>(obj, "context"));
 }
Example #7
0
 public Padding(JObject obj)
 {
     this.boolean = JsonClassHelper.ReadBoolean(JsonClassHelper.GetJToken <JValue>(obj, "boolean"));
 }
Example #8
0
 public StandaloneLineEndings(JObject obj)
 {
     this.boolean = JsonClassHelper.ReadBoolean(JsonClassHelper.GetJToken <JValue>(obj, "boolean"));
 }
Example #9
0
 public IndentedInlineSections(JObject obj)
 {
     this.boolean = JsonClassHelper.ReadBoolean(JsonClassHelper.GetJToken <JValue>(obj, "boolean"));
 }
Example #10
0
 public Doubled(JObject obj)
 {
     this.two   = JsonClassHelper.ReadString(JsonClassHelper.GetJToken <JValue>(obj, "two"));
     this.bool1 = JsonClassHelper.ReadBoolean(JsonClassHelper.GetJToken <JValue>(obj, "bool1"));
 }
Example #11
0
 public EmptyList(JObject obj)
 {
     this.list = (object[])JsonClassHelper.ReadArray <object>(JsonClassHelper.GetJToken <JArray>(obj, "list"), JsonClassHelper.ReadObject, typeof(object[]));
 }
Example #12
0
 public List(JObject obj)
 {
     this.list = (List2[])JsonClassHelper.ReadArray <List2>(JsonClassHelper.GetJToken <JArray>(obj, "list"), JsonClassHelper.ReadStronglyTypedObject <List2>, typeof(List2[]));
 }
Example #13
0
 public List2(JObject obj)
 {
     this.item = JsonClassHelper.ReadInteger(JsonClassHelper.GetJToken <JValue>(obj, "item"));
 }
Example #14
0
 public partials(JObject obj)
 {
     this.Context               = JsonClassHelper.ReadStronglyTypedObject <Context>(JsonClassHelper.GetJToken <JObject>(obj, "Context"));
     this.Recursion             = JsonClassHelper.ReadStronglyTypedObject <Recursion>(JsonClassHelper.GetJToken <JObject>(obj, "Recursion"));
     this.InlineIndentation     = JsonClassHelper.ReadStronglyTypedObject <InlineIndentation>(JsonClassHelper.GetJToken <JObject>(obj, "InlineIndentation"));
     this.StandaloneIndentation = JsonClassHelper.ReadStronglyTypedObject <StandaloneIndentation>(JsonClassHelper.GetJToken <JObject>(obj, "StandaloneIndentation"));
     this.PaddingWhitespace     = JsonClassHelper.ReadStronglyTypedObject <PaddingWhitespace>(JsonClassHelper.GetJToken <JObject>(obj, "PaddingWhitespace"));
 }
Example #15
0
 public StandaloneIndentation(JObject obj)
 {
     this.content = JsonClassHelper.ReadString(JsonClassHelper.GetJToken <JValue>(obj, "content"));
 }
Example #16
0
 public DottedNamesBrokenChains(JObject obj)
 {
     this.a = JsonClassHelper.ReadStronglyTypedObject <A4>(JsonClassHelper.GetJToken <JObject>(obj, "a"));
 }
Example #17
0
 public InternalWhitespace(JObject obj)
 {
     this.boolean = JsonClassHelper.ReadBoolean(JsonClassHelper.GetJToken <JValue>(obj, "boolean"));
 }
Example #18
0
 public NestedFalsey(JObject obj)
 {
     this.bool1 = JsonClassHelper.ReadBoolean(JsonClassHelper.GetJToken <JValue>(obj, "bool1"));
 }
Example #19
0
 public Context2(JObject obj)
 {
     this.name = JsonClassHelper.ReadString(JsonClassHelper.GetJToken <JValue>(obj, "name"));
 }
Example #20
0
 public ImplicitIteratorString(JObject obj)
 {
     this.list = (string[])JsonClassHelper.ReadArray <string>(JsonClassHelper.GetJToken <JArray>(obj, "list"), JsonClassHelper.ReadString, typeof(string[]));
 }
Example #21
0
 public StandaloneWithoutNewline(JObject obj)
 {
     this.boolean = JsonClassHelper.ReadBoolean(JsonClassHelper.GetJToken <JValue>(obj, "boolean"));
 }
Example #22
0
 public ImplicitIteratorInteger(JObject obj)
 {
     this.list = (int[])JsonClassHelper.ReadArray <int>(JsonClassHelper.GetJToken <JArray>(obj, "list"), JsonClassHelper.ReadInteger, typeof(int[]));
 }
Example #23
0
 public ImplicitIteratorDecimal(JObject obj)
 {
     this.list = (double[])JsonClassHelper.ReadArray <double>(JsonClassHelper.GetJToken <JArray>(obj, "list"), JsonClassHelper.ReadFloat, typeof(double[]));
 }
Example #24
0
 public B3(JObject obj)
 {
     this.c = JsonClassHelper.ReadBoolean(JsonClassHelper.GetJToken <JValue>(obj, "c"));
 }
Example #25
0
 public A(JObject obj)
 {
     this.one = JsonClassHelper.ReadInteger(JsonClassHelper.GetJToken <JValue>(obj, "one"));
 }
Example #26
0
 public A3(JObject obj)
 {
     this.b = JsonClassHelper.ReadStronglyTypedObject <B3>(JsonClassHelper.GetJToken <JObject>(obj, "b"));
 }
Example #27
0
 public C(JObject obj)
 {
     this.three = JsonClassHelper.ReadInteger(JsonClassHelper.GetJToken <JValue>(obj, "three"));
 }
Example #28
0
 public DottedNamesFalsey(JObject obj)
 {
     this.a = JsonClassHelper.ReadStronglyTypedObject <A3>(JsonClassHelper.GetJToken <JObject>(obj, "a"));
 }
Example #29
0
 public E(JObject obj)
 {
     this.five = JsonClassHelper.ReadInteger(JsonClassHelper.GetJToken <JValue>(obj, "five"));
 }
Example #30
0
 public Recursion(JObject obj)
 {
     this.content = JsonClassHelper.ReadString(JsonClassHelper.GetJToken <JValue>(obj, "content"));
     this.nodes   = (Node[])JsonClassHelper.ReadArray <Node>(JsonClassHelper.GetJToken <JArray>(obj, "nodes"), JsonClassHelper.ReadStronglyTypedObject <Node>, typeof(Node[]));
 }