ErrLookup › JamesNK/Newtonsoft.Json
JamesNK/Newtonsoft.Json
Json.NET is a popular high-performance JSON framework for .NET · C# · 932 source files
Analyzed at 4f73e74372 on 2026-08-07. 193 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| {parameterName} | exception | error | argument-validation, null-reference, argumentnullexception |
| length | exception | error | argument-validation, strings, argumentoutofrange |
| Newtonsoft.Json support for dynamic is not compatible with… | exception | error | dynamic, trimming, native-aot, notsupported, feature-switch |
| Unsupported type: . Use the JsonSerializer class to get the… | validation | error | serialization, type-mismatch, primitive |
| Newtonsoft.Json support for System.ComponentModel is not… | exception | error | newtonsoft-json, linq-to-json, componentmodel, trimming, aot, data-binding |
| Unexpected token when writing BSON | exception | error | bson, serialization, argument-out-of-range, writer |
| Wrapped ICollection does not support indexer. | exception | error | collections, serialization, newtonsoft-json, internal |
| Property does not have a getter. | validation | error | reflection, serialization, property, newtonsoft-json |
| Cannot get SerializationBinder because an… | exception | error | obsolete-api, serialization-binder, configuration |
| Can not convert to byte array. | exception | error | json, linq-to-json, type-cast, jtoken, byte-array, base64, newtonsoft-json |
| Error setting value to | exception | error | deserialization, serialization, reflection, expression-value-provider, aot |
| Converter cannot write specified value to JSON. | exception | error | converter, type-mismatch, serialization |
| Unexpected type code | exception | error | json-schema, schema-generation, type-mapping, reflection |
| Could not convert ' ' to . | exception | error | enum, deserialization, linq-to-json, string-enum, argumentexception |
| Newtonsoft.Json serialization is not compatible with… | exception | error | iconvertible, trimming, native-aot, serialization, notsupported, jvalue |
| Property ' ' does not exist on JObject. | exception | error | jsonpath, field-filter, multi-field |
| Constructor for ' ' must have no parameters or a single… | exception | error | dictionary, constructor, attribute-validation, contract-resolution |
| Unable to find default constructor for | exception | error | reflection, deserialization, constructor, default-constructor |
| Unable to serialize instance of | exception | error | serialization, blacklisted-type, stack-overflow-guard, filesystem |
| Path returned multiple tokens. | exception | error | jsonpath, selecttoken, linq-to-json, cardinality, jsonexception |
| Cannot cast to . | exception | error | linq-to-json, type-mismatch, casting |
| Could not determine JSON object type for type | exception | error | jvalue, unsupported-type, argumentexception, linq-to-json, converter |
| Property does not have a setter. | exception | error | reflection, deserialization, property, readonly, setter |
| Can not convert to DateTimeOffset. | exception | error | linq-to-json, jtoken, cast, datetimeoffset, argumentexception |
| CurrentPropertyName has not been set on scope. | exception | error | schema-validation, json-reader, internal-state |
| Can not convert to String. | exception | error | json, linq-to-json, type-cast, jtoken, string, newtonsoft-json |
| Could not find type ' ' in assembly ' '. | exception | error | deserialization, type-name-handling, generic-type, serialization-binder, security |
| Source value must be a JToken. | exception | error | linq-to-json, type-mismatch, extension-method |
| Can not convert to Int64. | exception | error | linq-to-json, jtoken, cast, int64, argumentexception |
| Can not convert from BigInteger to | exception | error | conversion, biginteger, newtonsoft-json |
| Integer string ' ' is not allowed. | validation | error | enum, configuration, newtonsoft-json |
| Can not convert to Uri. | exception | error | json, linq-to-json, type-cast, jtoken, uri, newtonsoft-json |
| Indentation value must be greater than 0. | exception | error | formatting, configuration, validation |
| Can not convert to Boolean. | exception | error | linq-to-json, jtoken, cast, boolean, argumentexception |
| Can not convert to BigInteger. | exception | error | json, linq-to-json, type-cast, jtoken, numeric, biginteger, newtonsoft-json |
| Converter cannot read JSON with the specified existing… | exception | error | converter, deserialization, type-mismatch |
| Invalid date time handling value. | validation | error | datetime, configuration, newtonsoft-json, defensive |
| ' ' is not a generic interface definition. | exception | error | reflection, generics, interface, argument |
| annotation | validation | error | annotations, argumentnull, null-check, linq-to-json |
| Unexpected token type | exception | error | schema-validation, json-reader, unexpected-token |
| Object must be of type byte[]. | exception | error | jvalue, compareto, bytes, invalid-cast, argumentexception |
| Can not convert to Guid. | exception | error | json, linq-to-json, type-cast, jtoken, guid, newtonsoft-json |
| Can not convert to Single. | exception | error | json, linq-to-json, type-cast, jtoken, numeric, newtonsoft-json |
| type | validation | error | annotations, argumentnull, null-check, reflection |
| Invalid attribute. Both | exception | error | callback, attribute-validation, contract-resolution |
| Cannot add or remove items from | exception | error | json, linq-to-json, jproperty, collection, mutation |
| Could not create getter for | exception | error | reflection, serialization, byref, csharp7, property |
| Can not convert to TimeSpan. | exception | error | json, linq-to-json, type-cast, jtoken, timespan, newtonsoft-json |
| Invalid extension data attribute on | exception | error | extension-data, attribute-validation, contract-resolution, type-mismatch |
| Could not load assembly | exception | error | deserialization, type-name-handling, assembly-loading, serialization-binder, security |
| Unexpected XmlNodeType when getting node name: | exception | error | serialization, converter, xml, node-type |
| Could not resolve type | exception | error | dynamic, configuration, dependency, newtonsoft-json |
| Property ' ' does not have a getter. | validation | error | reflection, serialization, property, newtonsoft-json |
| Could not cast or convert from | validation | error | conversion, serialization, type-mismatch, newtonsoft-json |
| Could not create getter for | exception | error | reflection, getter, member, type-mismatch |
| value | validation | error | jsonloadsettings, argumentoutofrange, enum, validation, configuration |
| Can not convert to UInt64. | exception | error | json, linq-to-json, type-cast, jtoken, numeric, unsigned, newtonsoft-json |
| Index * not valid on | exception | error | jsonpath, type-mismatch, array-indexer |
| Cannot deserialize non-cubical array as multidimensional… | exception | error | deserialization, multidimensional-array, array, collection-utils |
| The value ' ' is not of type ' ' and cannot be used in this… | validation | error | collections, type-mismatch, serialization, newtonsoft-json |
| Unresolved circular reference for type | exception | error | schema, json, jsonschema, circular-reference, codegen |
| Cannot set value onto extension data member | exception | error | extension-data, deserialization, null-reference |
| Expected JSON property | exception | error | deserialization, converter, entity-framework, schema-mismatch |
| Value is not a JToken. | validation | error | deserialization, iserializable, formatter-converter, jtoken |
| Insufficient permissions. Creating an uninitialized | exception | critical | serialization, iserializable, security, trust, appdomain |
| Invalid extension data attribute on | exception | error | extension-data, attribute-validation, contract-resolution |
| Can not convert null | exception | error | conversion, nullable, dbnull, newtonsoft-json |
| The DefaultReferenceResolver can only be used internally. | exception | error | reference-resolution, preserve-references, internal-api, misuse |
| Could not get constructor for | validation | error | reflection, serialization, constructor, newtonsoft-json |
| Can not convert to UInt32. | exception | error | json, linq-to-json, type-cast, jtoken, numeric, unsigned, newtonsoft-json |
| Can not convert to DateTime. | exception | error | linq-to-json, jtoken, cast, nullable-datetime, argumentexception |
| Error creating ' '. | exception | error | converter, naming-strategy, reflection, constructor, runtime-exception |
| Unexpected character while parsing path: | exception | error | jsonpath, parse-error, syntax |
| CustomCreationConverter should only be used while… | exception | error | serialization, converter, not-supported, custom-creation |
| Type is not a collection. | exception | error | reflection, collection, generics, open-generic |
| A member with the name | exception | error | contract-resolution, duplicate-property, jsonproperty, naming-strategy |
| Unexpected BsonType value | exception | error | bson, deserialization, argument-out-of-range, corrupt-data |
| Can not convert to Decimal. | exception | error | linq-to-json, jtoken, cast, nullable-decimal, argumentexception |
| Enum name ' ' already exists on enum ' '. | exception | error | enum, serialization, configuration, newtonsoft-json |
| The specified item does not exist in this KeyedCollection. | exception | error | json, linq-to-json, jobject, collection, internal |
| Can not convert to Int32. | exception | error | linq-to-json, jtoken, cast, int32, argumentexception |
| Cannot change schema while validating JSON. | exception | error | schema-validation, configuration, invalid-operation |
| Serialization binder cannot be null. | validation | error | obsolete-api, null-argument, serialization-binder |
| Can not convert to Int16. | exception | error | linq-to-json, jtoken, cast, int16, argumentexception |
| Virtual Method ' ' of type ' ' cannot be marked with ' '… | exception | error | callback, attribute-validation, contract-resolution, virtual-method |
| Cannot convert to BigInteger. | exception | error | conversion, biginteger, type-mismatch, newtonsoft-json |
| Step cannot be zero. | exception | error | jsonpath, array-slice, argument-validation |
| A name is required when setting property name state. | exception | error | json-writer, async, type-mismatch |
| Unexpected XmlNodeType when serializing nodes: | exception | error | serialization, converter, xml, node-type |
| Serialization Error Callback | exception | error | callback, error-handling, attribute-validation, contract-resolution |
| Target type is not a value type or a non-abstract class. | validation | error | conversion, reflection, type-mismatch, newtonsoft-json |
| Unexpected merge array handling when merging JSON. | exception | error | newtonsoft-json, linq-to-json, merge, enum, argument-validation |
| Unexpected value type when writing binary | exception | error | serialization, converter, binary, type-mismatch |
| start | exception | error | string, argument, validation, trim, internal |
| Can not convert to Char. | exception | error | linq-to-json, jtoken, cast, nullable-char, argumentexception |
| Multiple constructors with the JsonConstructorAttribute. | exception | error | constructor, attribute-validation, deserialization, contract-resolution |
| Path ended with open indexer. | exception | error | jsonpath, parse-error, syntax |
| Can not convert from | exception | error | conversion, type-mismatch, newtonsoft-json |
| Can not convert to Byte. | exception | error | linq-to-json, jtoken, cast, byte, argumentexception |
| Can not convert to UInt16. | exception | error | linq-to-json, jtoken, cast, uint16, argumentexception |