pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus KARG <markus@headcrashing.eu>
To: 'List' <pgsql-jdbc@postgresql.org>
Subject: Re: SQLJSON
Date: Fri, 26 Jun 2015 18:18:56 +0200
Message-ID: <001c01d0b02b$cdaa0b60$68fe2220$@eu> (raw)
In-Reply-To: <CADK3HH+RBjfo7gp3k-DSZYiZ-qS1BcS-OjG3xAgJhJDHbkgo_Q@mail.gmail.com>
References: <CADK3HH+RBjfo7gp3k-DSZYiZ-qS1BcS-OjG3xAgJhJDHbkgo_Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

I think it would be pretty straigtforward if SQLJSON would have the exact same interface as SQLXML. The sole difference I see is that in contrast to supporting JAXP it has to support JSONP (https://json-processing-spec.java.net/nonav/releases/1.0/fcs/javadocs/index.html). 

 

 

From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Dave Cramer
Sent: Freitag, 26. Juni 2015 16:57
To: List
Subject: [JDBC] SQLJSON

 

I'm looking for comments on how to implement a SQLJSON type in JDBC.

 

As there is no getSQLJSON in the resultset interface this could only be used in getObject.

 

Notionally it would model itself after SQLXML. https://docs.oracle.com/javase/7/docs/api/index.html?java/sql/SQLXML.html

 




Dave Cramer

view thread (103+ messages)  latest in thread

Message-ID: <001c01d0b02b$cdaa0b60$68fe2220$@eu>
Permalink:  ../001c01d0b02b$cdaa0b60$68fe2220$@eu/
Also on:    postgresql.org/message-id/001c01d0b02b$cdaa0b60$68fe2220$@eu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: markus@headcrashing.eu
  Subject: Re: SQLJSON
  In-Reply-To: <001c01d0b02b$cdaa0b60$68fe2220$@eu>
  References: <CADK3HH+RBjfo7gp3k-DSZYiZ-qS1BcS-OjG3xAgJhJDHbkgo_Q@mail.gmail.com> <001c01d0b02b$cdaa0b60$68fe2220$@eu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox