<p>It is not a replacement for HStore in osm2psql tradition, it is only to be friendly with JSON users, an option... It is about "user community", JSON community is bigger tham HStore.</p>
<p>It is a matter of welcoming and being nice with these users.</p>
<p><strong>JSON is a universal standard</strong> and HStore is not... The aim, in a first moment, for a first step, is not technological advantage... Humanity need standards to sum efforts and to simplify life, this is the advantage.</p>
<p>As any other formats and casts, there are many ways to convert, so, even when is simple to cast, each one by your self can produce different castings. The "do by your self" convertion is not uniform. The "JSON-lovers community" need <strong>a help of <code>osm2psql</code> to obtain "the JSON standard cast for OSM"</strong>.</p>
<hr>
<p>For a distant future... Imagine. All "OSM standards" are in XML. XML elements can be isolated, but some remains encoding element's informatin in a tree. JSON is also a tree: is the "natural way" to translate OSM into SQL.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/issues/672#issuecomment-274029480">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AD2-7j_FrCUns1gO5oyyZ-OF3bEPbeOmks5rUIT3gaJpZM4Lf_WB">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AD2-7iXocz8SE9DZVRsRdJeDglZPh1AXks5rUIT3gaJpZM4Lf_WB.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/osm2pgsql/issues/672#issuecomment-274029480"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/osm2pgsql","title":"openstreetmap/osm2pgsql","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/osm2pgsql"}},"updates":{"snippets":[{"icon":"PERSON","message":"@ppKrauss in #672: It is not a replacement for HStore in osm2psql tradition, it is only to be friendly with JSON users, an option... It is about \"user community\", JSON community is bigger tham HStore. \r\n\r\nIt is a matter of welcoming and being nice with these users.\r\n\r\n**JSON is a universal standard** and HStore is not... The aim, in a first moment, for a first step, is not technological advantage... Humanity need standards to sum efforts and to simplify life, this is the advantage.\r\n\r\nAs any other formats and casts, there are many ways to convert, so, even when is simple to cast, each one by your self can produce different castings. The \"do by your self\" convertion is not uniform. The \"JSON-lovers community\" need **a help of `osm2psql` to obtain \"the JSON standard cast for OSM\"**.\r\n\r\n-----\r\n\r\nFor a distant future... Imagine. All \"OSM standards\" are in XML. XML elements can be isolated, but some remains encoding element's informatin in a tree. JSON is also a tree: is the \"natural way\" to translate OSM into SQL. \r\n"}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/osm2pgsql/issues/672#issuecomment-274029480"}}}</script>