[Webkit-unassigned] [Bug 274248] [GTK] jsc_value_new_string object returned as string
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 16 05:08:11 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=274248
Michael Catanzaro <mcatanzaro at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
CC| |mcatanzaro at redhat.com
--- Comment #1 from Michael Catanzaro <mcatanzaro at redhat.com> ---
OK, this is because jsc_value_new_string() creates a string, not an object. So it's correct that jsc_value_to_json() returns a string.
You can get the behavior you desire by using jsc_value_new_json() instead.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240516/9176ff42/attachment.htm>
More information about the webkit-unassigned
mailing list