SystemTextJson only accepts property names and string values in double quotes because that format is required by the RFC 8259 specification and is the only format considered valid JSON.
Cannot find system.text.json. Is an invalid start of a value. Unfortunately SystemTextJson doesnt like JavaScript typeless word cannot find proper type mapping. Where there is.
For example MakeGenericType is not compatible with full AOT compilation. How to get the library. Could not load file or assembly SystemTextJson Version4000 Cultureneutral PublicKeyTokencc7b13ffcd2ddd51 or one of its dependencies.
Some of the delegate constructs that you have mentioned are not friendly to full AOT compilation either. In the window that will appear click on Browse on the top. Could not load file or assembly SystemTextJson Version5000 Cultureneutral PublicKeyTokencc7b13ffcd2ddd51 or one of its dependencies.
It fails like this no matter which version of EF Core Im on Tried 31 preview as well fails here. Yes there are number of other constructs that SystemTextJson uses that are not compatible with full AOT compilation. You just have to install the SystemTextJson NuGet package.
You can see the documentation at JSON serialization and deserialization marshalling and unmarshalling in NET - overview. At AzureBicepTypesAzIndexTypeIndexerDeserializeIndexString content at AzureBicepTypesAzTypeLoaderGetIndexedTypes at PSArmSchemaResourceIndexGetAllAvailableTypeLocations at System. Provides high-performance low-allocating and standards-compliant capabilities to process JavaScript Object Notation JSON which includes serializing objects to JSON text and deserializing JSON text to objects with UTF-8 support built-in.
In the search textbox type SystemTextJson. Defines a custom exception object that is thrown when invalid JSON text is encountered when the defined maximum depth is passed or the JSON text is not compatible with the type of a property on an object. The system cannot find the file specified.