123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using System;
- using System.Collections;
- using System.Collections.Specialized;
- namespace LitJson
- {
- public interface IJsonWrapper : IList, IOrderedDictionary, IEnumerable, ICollection, IDictionary
- {
- bool IsArray { get; }
- bool IsBoolean { get; }
- bool IsDouble { get; }
- bool IsInt { get; }
- bool IsLong { get; }
- bool IsObject { get; }
- bool IsString { get; }
- bool GetBoolean();
- double GetDouble();
- int GetInt();
- JsonType GetJsonType();
- long GetLong();
- string GetString();
- void SetBoolean(bool val);
- void SetDouble(double val);
- void SetInt(int val);
- void SetJsonType(JsonType type);
- void SetLong(long val);
- void SetString(string val);
- string ToJson();
- void ToJson(JsonWriter writer);
- }
- }
|