Skip to content

Why Does Attempting to Serialize A JsError Throw A JsonException #1381

Closed Answered by lahma
StevanFreeborn asked this question in Q&A
Discussion options

You must be logged in to vote

I'm afraid an Error instance (and probably many more) haven't been designed to cope with STJ. Jint has it's own JsonSerializer which knows which properties to include (enumerable).

Replies: 1 comment 2 replies

Comment options

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

@SebastianStehle
Comment options

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