• Manual
  • API Documentation
  • Bayat.Json.Linq
  • JPropertyKeyedCollection

    Show / Hide Table of Contents
    • Bayat
      • UnityThread
    • Bayat.Core
      • AddReferenceWindow
      • AddReferenceWindow.Dependency
      • AssetReferenceResolver
      • AssetReferenceResolverEditor
      • BayatEditorStyles
      • CoreAssetPostProcessor
      • EditorApplicationUtility
      • MaterialPropertiesResolver
      • MaterialPropertiesResolverEditor
      • ReferenceCheckerWindow
      • ReferenceResolverMode
      • RuntimeMaterialProperties
      • RuntimeMaterialProperty
      • RuntimeMaterialPropertyType
      • SceneReferenceResolver
      • SceneReferenceResolverEditor
      • UnityEditorInternalException
    • Bayat.Core.EditorWindows
      • AssetReferenceManagerWindow
      • AssetReferenceManagerWindow.Styles
      • DatabaseMigrationWindow
      • DatabaseMigrationWindow.SceneMigrationStatus
      • DatabaseMigrationWindow.Styles
      • EditorWindowExtensions
      • EditorWindowUtility
      • EditorWindowWrapper
      • SceneReferenceManagerWindow
      • SceneReferenceManagerWindow.Styles
      • WindowClose
      • WrappedEditorWindow
    • Bayat.Core.Profiling
      • ProfiledSegment
      • ProfiledSegmentCollection
      • ProfilingScope
      • ProfilingUtility
    • Bayat.Core.Reflection
      • AssemblyExtensions
      • Codebase
      • RuntimeCodebase
      • TypeExtensions
      • TypeUtility
    • Bayat.Core.Text
      • StringExtensions
      • StringUtility
    • Bayat.Core.Utilities
      • ExceptionExtensions
      • GuidToReferenceDictionary
      • SerializableDictionary<TKey, TVal>
    • Bayat.Json
      • ConstructorHandling
      • CreateObjectConverterWindow
      • CreateObjectConverterWindow.Styles
      • DateFormatHandling
      • DateParseHandling
      • DateTimeZoneHandling
      • DefaultValueHandling
      • FloatFormatHandling
      • FloatParseHandling
      • Formatting
      • GameObjectSerializationHandler
      • GameObjectSerializationManagerTreeView
      • GameObjectSerializationManagerTreeView.Styles
      • GameObjectSerializationManagerWindow
      • GameObjectSerializationManagerWindow.Styles
      • IArrayPool<T>
      • IJsonLineInfo
      • JsonArrayAttribute
      • JsonConstructorAttribute
      • JsonContainerAttribute
      • JsonContainerType
      • JsonConvert
      • JsonConverter
      • JsonConverterAttribute
      • JsonConverterCollection
      • JsonDefaultSettingsWindow
      • JsonDefaultSettingsWindow.Styles
      • JsonDictionaryAttribute
      • JsonException
      • JsonExtensionDataAttribute
      • JsonIgnoreAttribute
      • JsonObjectAttribute
      • JsonPosition
      • JsonPropertyAttribute
      • JsonReader
      • JsonReader.State
      • JsonReaderException
      • JsonRequiredAttribute
      • JsonSerializationException
      • JsonSerializer
      • JsonSerializerSettings
      • JsonSerializerSettingsPreset
      • JsonTextReader
      • JsonTextWriter
      • JsonToken
      • JsonWriter
      • JsonWriter.State
      • JsonWriterException
      • MemberSerialization
      • MetadataPropertyHandling
      • MissingMemberHandling
      • NullValueHandling
      • ObjectCreationHandling
      • PreserveReferencesHandling
      • ReadType
      • ReferenceLoopHandling
      • Required
      • StringEscapeHandling
      • TypeNameHandling
      • WriteState
    • Bayat.Json.Bson
      • BsonArray
      • BsonBinary
      • BsonBinaryType
      • BsonBinaryWriter
      • BsonObject
      • BsonObjectId
      • BsonProperty
      • BsonReader
      • BsonRegex
      • BsonString
      • BsonToken
      • BsonType
      • BsonValue
      • BsonWriter
    • Bayat.Json.Converters
      • AnimatorConverter
      • AudioClipConverter
      • BinaryConverter
      • BoundsConverter
      • BsonObjectIdConverter
      • ColliderConverter
      • ColorConverter
      • CustomCreationConverter<T>
      • DateTimeConverterBase
      • DiscriminatedUnionConverter
      • EntityKeyMemberConverter
      • ExpandoObjectConverter
      • GameObjectConverter
      • HashSetConverter
      • IsoDateTimeConverter
      • JavaScriptDateTimeConverter
      • KeyValuePairConverter
      • MaterialConverter
      • MaterialConverter.JsonSerializedMaterialProperty
      • Matrix4x4Converter
      • MeshConverter
      • MeshConverter.SerializedIndices
      • MeshFilterConverter
      • ObjectJsonConverter
      • QuaternionConverter
      • RectConverter
      • RectTransformConverter
      • RegexConverter
      • RendererConverter
      • ResolutionConverter
      • ShaderConverter
      • SpriteConverter
      • StringEnumConverter
      • Texture2DConverter
      • TransformConverter
      • UnityBehaviourConverter
      • UnityComponentConverter
      • UnityMonoBehaviourConverter
      • UnityObjectConverter
      • UriConverter
      • VectorConverter
      • VersionConverter
      • XmlNodeConverter
    • Bayat.Json.Linq
      • CommentHandling
      • Extensions
      • IJEnumerable<T>
      • JArray
      • JConstructor
      • JContainer
      • JEnumerable<T>
      • JObject
      • JProperty
      • JPropertyDescriptor
      • JPropertyKeyedCollection
      • JRaw
      • JsonLoadSettings
      • JsonMergeSettings
      • JToken
      • JTokenEqualityComparer
      • JTokenReader
      • JTokenType
      • JTokenWriter
      • JValue
      • LineInfoHandling
      • MergeArrayHandling
      • MergeNullValueHandling
    • Bayat.Json.Linq.JsonPath
      • ArrayIndexFilter
      • ArrayMultipleIndexFilter
      • ArraySliceFilter
      • BooleanQueryExpression
      • CompositeExpression
      • FieldFilter
      • FieldMultipleFilter
      • JPath
      • PathFilter
      • QueryExpression
      • QueryFilter
      • QueryOperator
      • ScanFilter
    • Bayat.Json.Serialization
      • CachedAttributeGetter<T>
      • CamelCasePropertyNamesContractResolver
      • DefaultContractResolver
      • DefaultContractResolver.EnumerableDictionaryWrapper<TEnumeratorKey, TEnumeratorValue>
      • DefaultContractResolverState
      • DefaultReferenceResolver
      • DefaultSerializationBinder
      • DefaultSerializationBinder.TypeNameKey
      • DiagnosticsTraceWriter
      • ErrorContext
      • ErrorEventArgs
      • ExpressionValueProvider
      • ExtensionDataGetter
      • ExtensionDataSetter
      • IAttributeProvider
      • IContractResolver
      • IReferenceResolver
      • ITraceWriter
      • IValueProvider
      • JsonArrayContract
      • JsonContainerContract
      • JsonContract
      • JsonContractType
      • JsonDictionaryContract
      • JsonDynamicContract
      • JsonFormatterConverter
      • JsonISerializableContract
      • JsonLinqContract
      • JsonObjectContract
      • JsonPrimitiveContract
      • JsonProperty
      • JsonPropertyCollection
      • JsonSerializerInternalBase
      • JsonSerializerProxy
      • JsonSerializerReader
      • JsonSerializerReader.CreatorPropertyContext
      • JsonSerializerReader.PropertyPresence
      • JsonSerializerWriter
      • JsonStringContract
      • JsonTypeReflector
      • MemoryTraceWriter
      • ObjectConstructor<T>
      • OnErrorAttribute
      • ReflectionAttributeProvider
      • ReflectionValueProvider
      • ResolverContractKey
      • SerializationCallback
      • SerializationErrorCallback
      • TraceJsonReader
      • TraceJsonWriter
    • Bayat.Json.Shims
      • PreserveAttribute
    • Bayat.Json.Utilities
      • Base64Encoder
      • BidirectionalDictionary<TFirst, TSecond>
      • BufferUtils
      • CollectionUtils
      • CollectionWrapper<T>
      • ConvertUtils
      • ConvertUtils.ConvertResult
      • ConvertUtils.TypeConvertKey
      • Creator<T>
      • DateTimeParser
      • DateTimeUtils
      • DictionaryWrapper<TKey, TValue>
      • DynamicProxy<T>
      • DynamicProxyMetaObject<T>
      • DynamicUtils
      • DynamicUtils.BinderWrapper
      • EnumUtils
      • EnumValue<T>
      • ExpressionReflectionDelegateFactory
      • FSharpFunction
      • FSharpUtils
      • ImmutableCollectionsUtils
      • ImmutableCollectionsUtils.ImmutableCollectionTypeInfo
      • IWrappedCollection
      • IWrappedDictionary
      • JavaScriptUtils
      • JsonTokenUtils
      • LateBoundReflectionDelegateFactory
      • MathUtils
      • MethodCall<T, TResult>
      • MiscellaneousUtils
      • NoThrowExpressionVisitor
      • NoThrowGetBinderMember
      • NoThrowSetBinderMember
      • ParseResult
      • ParserTimeZone
      • PrimitiveTypeCode
      • PropertyNameTable
      • ReflectionDelegateFactory
      • ReflectionMember
      • ReflectionObject
      • ReflectionUtils
      • StringBuffer
      • StringReference
      • StringReferenceExtensions
      • StringUtils
      • ThreadSafeStore<TKey, TValue>
      • TypeInformation
      • ValidationUtils
    • Bayat.SaveSystem
      • AutoSave
      • AutoSaveManager
      • AutoSaveManager.LoadEvent
      • AutoSaveManager.SaveEvent
      • AutoSaveManagerWindow
      • AutoSaveManagerWindow.Styles
      • LoadEventArgs
      • LoadIntoEventArgs
      • SaveEventArgs
      • SaveSystemAPI
      • SaveSystemDefaultSettingsWindow
      • SaveSystemDefaultSettingsWindow.Styles
      • SaveSystemEditorResources
      • SaveSystemJsonSerializer
      • SaveSystemManager
      • SaveSystemSettings
      • SaveSystemSettingsPreset
      • WelcomeWindow
      • WelcomeWindow.Styles
    • Bayat.SaveSystem.Security
      • ISaveSystemEncryption
      • SaveSystemCryptoStream
      • SaveSystemSymmetricCryptoStream
      • SaveSystemSymmetricEncryption
    • Bayat.SaveSystem.Storage
      • BuiltInConnectionFactory
      • ConnectionStringFactory
      • FileStorageStream
      • IConnectionFactory
      • IStorage
      • IStorageStream
      • LocalDiskStorage
      • PlayerPrefsStorage
      • PlayerPrefsStorageStream
      • StorageBackup
      • StorageBase
      • StorageClearOperationResult
      • StorageConnectionString
      • StorageCopyOperationResult
      • StorageDeleteOperationResult
      • StorageFactory
      • StorageFullException
      • StorageInvalidIdentifierException
      • StorageItemNotFoundException
      • StorageListOptions
      • StorageMetaData
      • StorageMoveOperationResult
      • StorageOperationResult
      • StorageStream

    Class JPropertyKeyedCollection

    Inheritance
    System.Object
    System.Collections.ObjectModel.Collection<JToken>
    JPropertyKeyedCollection
    Implements
    System.Collections.Generic.IList<JToken>
    System.Collections.Generic.ICollection<JToken>
    System.Collections.Generic.IReadOnlyList<JToken>
    System.Collections.Generic.IReadOnlyCollection<JToken>
    System.Collections.Generic.IEnumerable<JToken>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.get_Item(System.Int32)
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.Add(Bayat.Json.Linq.JToken)
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.Clear()
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.Contains(Bayat.Json.Linq.JToken)
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.CopyTo(Bayat.Json.Linq.JToken[], System.Int32)
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.GetEnumerator()
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.IndexOf(Bayat.Json.Linq.JToken)
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.Insert(System.Int32, Bayat.Json.Linq.JToken)
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.Remove(Bayat.Json.Linq.JToken)
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.RemoveAt(System.Int32)
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IEnumerable.GetEnumerator()
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.Add(System.Object)
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.Contains(System.Object)
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.IndexOf(System.Object)
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.Remove(System.Object)
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.Count
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.Item[System.Int32]
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.Items
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.Generic.ICollection<Bayat.Json.Linq.JToken>.IsReadOnly
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.ICollection.IsSynchronized
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.ICollection.SyncRoot
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.IsFixedSize
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.IsReadOnly
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.System.Collections.IList.Item[System.Int32]
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Bayat.Json.Linq
    Assembly: Bayat.Json.Runtime.dll
    Syntax
    public class JPropertyKeyedCollection : Collection<JToken>, IList<JToken>, ICollection<JToken>, IReadOnlyList<JToken>, IReadOnlyCollection<JToken>, IEnumerable<JToken>, IList, ICollection, IEnumerable

    Constructors

    | Improve this Doc View Source

    JPropertyKeyedCollection()

    Declaration
    public JPropertyKeyedCollection()

    Properties

    | Improve this Doc View Source

    Item[String]

    Declaration
    public JToken this[string key] { get; }
    Parameters
    Type Name Description
    System.String key
    Property Value
    Type Description
    JToken
    | Improve this Doc View Source

    Keys

    Declaration
    public ICollection<string> Keys { get; }
    Property Value
    Type Description
    System.Collections.Generic.ICollection<System.String>
    | Improve this Doc View Source

    Values

    Declaration
    public ICollection<JToken> Values { get; }
    Property Value
    Type Description
    System.Collections.Generic.ICollection<JToken>

    Methods

    | Improve this Doc View Source

    ChangeItemKey(JToken, String)

    Declaration
    protected void ChangeItemKey(JToken item, string newKey)
    Parameters
    Type Name Description
    JToken item
    System.String newKey
    | Improve this Doc View Source

    ClearItems()

    Declaration
    protected override void ClearItems()
    Overrides
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.ClearItems()
    | Improve this Doc View Source

    Compare(JPropertyKeyedCollection)

    Declaration
    public bool Compare(JPropertyKeyedCollection other)
    Parameters
    Type Name Description
    JPropertyKeyedCollection other
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Contains(String)

    Declaration
    public bool Contains(string key)
    Parameters
    Type Name Description
    System.String key
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IndexOfReference(JToken)

    Declaration
    public int IndexOfReference(JToken t)
    Parameters
    Type Name Description
    JToken t
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    InsertItem(Int32, JToken)

    Declaration
    protected override void InsertItem(int index, JToken item)
    Parameters
    Type Name Description
    System.Int32 index
    JToken item
    Overrides
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.InsertItem(System.Int32, Bayat.Json.Linq.JToken)
    | Improve this Doc View Source

    Remove(String)

    Declaration
    public bool Remove(string key)
    Parameters
    Type Name Description
    System.String key
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    RemoveItem(Int32)

    Declaration
    protected override void RemoveItem(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Overrides
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.RemoveItem(System.Int32)
    | Improve this Doc View Source

    SetItem(Int32, JToken)

    Declaration
    protected override void SetItem(int index, JToken item)
    Parameters
    Type Name Description
    System.Int32 index
    JToken item
    Overrides
    System.Collections.ObjectModel.Collection<Bayat.Json.Linq.JToken>.SetItem(System.Int32, Bayat.Json.Linq.JToken)
    | Improve this Doc View Source

    TryGetValue(String, out JToken)

    Declaration
    public bool TryGetValue(string key, out JToken value)
    Parameters
    Type Name Description
    System.String key
    JToken value
    Returns
    Type Description
    System.Boolean

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IReadOnlyList<T>
    System.Collections.Generic.IReadOnlyCollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable

    Extension Methods

    Extensions.Ancestors<T>(IEnumerable<T>)
    Extensions.AncestorsAndSelf<T>(IEnumerable<T>)
    Extensions.Values(IEnumerable<JToken>, Object)
    Extensions.Values(IEnumerable<JToken>)
    Extensions.Values<U>(IEnumerable<JToken>, Object)
    Extensions.Values<U>(IEnumerable<JToken>)
    Extensions.Value<U>(IEnumerable<JToken>)
    Extensions.Value<T, U>(IEnumerable<T>)
    Extensions.Values<T, U>(IEnumerable<T>, Object)
    Extensions.Children<T>(IEnumerable<T>)
    Extensions.Children<T, U>(IEnumerable<T>)
    Extensions.Convert<T, U>(IEnumerable<T>)
    Extensions.AsJEnumerable(IEnumerable<JToken>)
    Extensions.AsJEnumerable<T>(IEnumerable<T>)
    CollectionUtils.AddRange<T>(IList<T>, IEnumerable<T>)
    CollectionUtils.AddDistinct<T>(IList<T>, T)
    CollectionUtils.AddDistinct<T>(IList<T>, T, IEqualityComparer<T>)
    CollectionUtils.ContainsValue<TSource>(IEnumerable<TSource>, TSource, IEqualityComparer<TSource>)
    CollectionUtils.AddRangeDistinct<T>(IList<T>, IEnumerable<T>, IEqualityComparer<T>)
    CollectionUtils.IndexOf<T>(IEnumerable<T>, Func<T, Boolean>)
    StringUtils.ForgivingCaseSensitiveFind<TSource>(IEnumerable<TSource>, Func<TSource, String>, String)
    StringExtensions.ToSeparatedString(IEnumerable, String)
    StringExtensions.ToCommaSeparatedString(IEnumerable)
    StringExtensions.ToLineSeparatedString(IEnumerable)
    • Improve this Doc
    • View Source
    • 0 Comments
    In This Article
    • Constructors
      • JPropertyKeyedCollection()
    • Properties
      • Item[String]
      • Keys
      • Values
    • Methods
      • ChangeItemKey(JToken, String)
      • ClearItems()
      • Compare(JPropertyKeyedCollection)
      • Contains(String)
      • IndexOfReference(JToken)
      • InsertItem(Int32, JToken)
      • Remove(String)
      • RemoveItem(Int32)
      • SetItem(Int32, JToken)
      • TryGetValue(String, out JToken)
    • Implements
    • Extension Methods