123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- using System;
- using System.Collections.Generic;
- namespace LitJson
- {
- internal struct ObjectMetadata
- {
- public Type ElementType
- {
- get
- {
- if (this.element_type == null)
- {
- return typeof(JsonData);
- }
- return this.element_type;
- }
- set
- {
- this.element_type = value;
- }
- }
- public bool IsDictionary
- {
- get
- {
- return this.is_dictionary;
- }
- set
- {
- this.is_dictionary = value;
- }
- }
- public IDictionary<string, PropertyMetadata> Properties
- {
- get
- {
- return this.properties;
- }
- set
- {
- this.properties = value;
- }
- }
- private Type element_type;
- private bool is_dictionary;
- private IDictionary<string, PropertyMetadata> properties;
- }
- }
|