Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B6ACB1157E for ; Wed, 30 Jul 2014 18:35:40 +0000 (UTC) Received: (qmail 96908 invoked by uid 500); 30 Jul 2014 18:35:40 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 96874 invoked by uid 500); 30 Jul 2014 18:35:40 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 96863 invoked by uid 99); 30 Jul 2014 18:35:40 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2014 18:35:40 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id D6F8899FBAE; Wed, 30 Jul 2014 18:35:39 +0000 (UTC) From: jsoref To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-plugin-globalization pull request: BB10 implementation Content-Type: text/plain Message-Id: <20140730183539.D6F8899FBAE@tyr.zones.apache.org> Date: Wed, 30 Jul 2014 18:35:39 +0000 (UTC) Github user jsoref commented on a diff in the pull request: https://github.com/apache/cordova-plugin-globalization/pull/18#discussion_r15603160 --- Diff: src/blackberry10/native/public/json/writer.h --- @@ -0,0 +1,174 @@ +#ifndef JSON_WRITER_H_INCLUDED +# define JSON_WRITER_H_INCLUDED + +# include "value.h" +# include +# include +# include + +namespace Json { + + class Value; + + /** \brief Abstract class for writers. + */ + class JSON_API Writer + { + public: + virtual ~Writer(); + + virtual std::string write( const Value &root ) = 0; + }; + + /** \brief Outputs a Value in JSON format without formatting (not human friendly). + * + * The JSON document is written in a single line. It is not intended for 'human' consumption, + * but may be usefull to support feature such as RPC where bandwith is limited. --- End diff -- sp: usefull --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---