public void AllTypes() { string input = @"{ ""id"": ""7029d079-4016-4436-b7da-36c0bae54ff6"", ""double"": 0.18963001816981939, ""int"": -1330192615, ""string"": ""XCPCFXPHHF"", ""boolean"": true, ""null"": null, ""datetime"": ""2526-07-11T18:18:16.4520716"", ""spatialPoint"": { ""type"": ""Point"", ""coordinates"": [ 118.9897, -46.6781 ] }, ""text"": ""tiger diamond newbrunswick snowleopard chocolate dog snowleopard turtle cat sapphire peach sapphire vancouver white chocolate horse diamond lion superlongcolourname ruby"" }"; LazyCosmosElementTests.TestCosmosElementVisitabilityFromJson(input); }
public void Object() { LazyCosmosElementTests.TestCosmosElementVisitabilityFromJson("{\"foo\" : \"bar\"}"); }
public void Array() { LazyCosmosElementTests.TestCosmosElementVisitabilityFromJson("[1, 2, 3]"); }
public void String() { LazyCosmosElementTests.TestCosmosElementVisitabilityFromJson("\"hello\""); }
public void Number() { LazyCosmosElementTests.TestCosmosElementVisitabilityFromJson("123"); }
public void True() { LazyCosmosElementTests.TestCosmosElementVisitabilityFromJson("true"); }
public void False() { LazyCosmosElementTests.TestCosmosElementVisitabilityFromJson("false"); }
public void Null() { LazyCosmosElementTests.TestCosmosElementVisitabilityFromJson("null"); }