/// <summary> /// Initializes a new instance of the <see cref="JsonDataStoreReader"/> class. /// </summary> /// <param name="json">The JSON content to parse.</param> /// <param name="isDataStoreJson">Determines whether the JSON content was produced by a data store, or elsewhere.</param> /// <returns>A new instance of the <see cref="JsonDataStoreReader"/> class.</returns> public static JsonDataStoreReader FromJson( string json, bool isDataStoreJson ) { var reader = new Mechanical.IO.StringReader(); reader.Set(json); return new JsonDataStoreReader(reader, isDataStoreJson); }