1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- using System;
- namespace LitJson
- {
- internal struct ArrayMetadata
- {
- public Type ElementType
- {
- get
- {
- if (this.element_type == null)
- {
- return typeof(JsonData);
- }
- return this.element_type;
- }
- set
- {
- this.element_type = value;
- }
- }
- public bool IsArray
- {
- get
- {
- return this.is_array;
- }
- set
- {
- this.is_array = value;
- }
- }
- public bool IsList
- {
- get
- {
- return this.is_list;
- }
- set
- {
- this.is_list = value;
- }
- }
- private Type element_type;
- private bool is_array;
- private bool is_list;
- }
- }
|