<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Symmetrical Json Deserializers]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/109/v2-deserializers-import">V2 Deserializers (Import)</a></p>
<p dir="auto">Hello,<br />
I was wondering if the V2 serializer/deserializers for JSON are now symmetrical? And if so is there a way to install V2 on npm yet?</p>
<p dir="auto">Outside of switching to V2, is there any way to go from the Json serialized-CSG back to a CSG object? the Json deserializer on io seems to just be returning jscad code.</p>
<p dir="auto">Any help welcome ! Thanks!</p>
]]></description><link>https://openjscad.nodebb.com/topic/152/symmetrical-json-deserializers</link><generator>RSS for Node</generator><lastBuildDate>Wed, 14 Oct 2026 15:51:31 GMT</lastBuildDate><atom:link href="https://openjscad.nodebb.com/topic/152.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Sep 2020 00:04:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Symmetrical Json Deserializers on Sun, 13 Sep 2020 12:38:18 GMT]]></title><description><![CDATA[<p dir="auto">Awesome! Thank you!</p>
]]></description><link>https://openjscad.nodebb.com/post/350</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/350</guid><dc:creator><![CDATA[Maria Alzate]]></dc:creator><pubDate>Sun, 13 Sep 2020 12:38:18 GMT</pubDate></item><item><title><![CDATA[Reply to Symmetrical Json Deserializers on Fri, 11 Sep 2020 01:37:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/maria-alzate" aria-label="Profile: Maria-Alzate">@<bdi>Maria-Alzate</bdi></a> welcome</p>
<p dir="auto">Yes. All serializers/deserializers should be symmetrical. JSON should always be so.</p>
<p dir="auto">Each of the V2 deserializers has an option called 'output'. You can specify 'script' to get a JSCAD script, or 'geometry' to get an array of V2 data structures.</p>
<p dir="auto">Also, the CLI can convert between formats using the -of &lt;output format&gt; option.</p>
<p dir="auto">V2 has not been published to NPM as of today. If interested in V2 then please see the <a href="https://openjscad.org/dokuwiki/doku.php?id=early_v2" rel="nofollow ugc">early adoption notes.</a></p>
<p dir="auto">P.S. There's a bug in the WEB UI that prevents drag and drop of JSON files. A fix is in progress.</p>
]]></description><link>https://openjscad.nodebb.com/post/339</link><guid isPermaLink="true">https://openjscad.nodebb.com/post/339</guid><dc:creator><![CDATA[z3dev]]></dc:creator><pubDate>Fri, 11 Sep 2020 01:37:16 GMT</pubDate></item></channel></rss>