Skip to content

how should i get all properties and functions of object in Jint like js in browser console #1415

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

You must be logged in to vote

Probably easiest to serialize as JSON like this:

JsValue result = new Jint.Native.Json.JsonSerializer(engine).Serialize(theObjectInQuestion);
// can call ToString() for result

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Zaitonn
Comment options

@lahma
Comment options

@Zaitonn
Comment options

Answer selected by Zaitonn
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