Пример #1
0
    // Optionally write the file this library will read (binary formats, for example)
    public string WriteDataInCustomFormat(string jsonText)
    {
        SimpleJSON.JSONNode n = SimpleJSON.JSON.Parse(jsonText);

        n.SaveToBinaryFile(jsonPath);

        return(string.Format("{0} wrote additional json file {1}", this.GetType().ToString(), jsonPath));
    }