Skip to content
Discussion options

You must be logged in to vote

You need to configure your engine to allow specific types to get array prototype, see https://github.com/sebastienros/jint/blob/main/Jint.Tests/Runtime/InteropTests.SystemTextJson.cs for an example, you don't need to set TypeResolver with Newtonsoft.JSON, it's an STJ workaround.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@NrujalSharma
Comment options

@lahma
Comment options

lahma Jan 11, 2024
Collaborator

Answer selected by NrujalSharma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1732 on January 10, 2024 12:09.