-
has there been a method in Jint to get them like these? engine.SetValue("serein_log",
new Action<JsValue>((content) => Logger.Output(LogType.Plugin_Info, $"[{@namespace}]", content))); what |
Beta Was this translation helpful? Give feedback.
Answered by
lahma
Jan 24, 2023
Replies: 1 comment 3 replies
-
Probably easiest to serialize as JSON like this: JsValue result = new Jint.Native.Json.JsonSerializer(engine).Serialize(theObjectInQuestion);
// can call ToString() for result |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Zaitonn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Probably easiest to serialize as JSON like this: