Group
Extension

Matches 13

JSON-Immutable-XS ( A/AD/ADDICT/JSON-Immutable-XS-0.1.3.tar.gz, ADDICT, 2020; MetaCPAN )
JSON-Immutable-XS/lib/JSON/Immutable/XS.pm ( view source; MetaCPAN )
package JSON::Immutable::XS;
use parent 'Export::XS';
use 5.020;
use strict;
use warnings;
use XS::Framework;

=head1 NAME

JSON::Immutable::XS

=cut

our $VERSION = '0.1.3';
XS::Loader::bootstrap();

=head1 DESCRIPTION

Fast and simple abstract node-tree based storage with JSON support. Usefull for reading JSON configs, keeping it in the memory and don't worrying about mutability. Has XPath-like 
t use RapidJSON as JSON parser. L<https://rapidjson.org/>

=cut

=head1 SYNOPSIS

    use JSON::Immutable::XS;

    # you can provide this variable to XS and use it there
    my $dict = JSON::Immutabl
JSON-Immutable-XS ( A/AD/ADDICT/JSON-Immutable-XS-0.1.3.tar.gz, ADDICT, 2020; MetaCPAN )
JSON-Immutable-XS/external/rapidjson/error/error.h ( view source; MetaCPAN )
// Tencent is pleased to support the open source community by making RapidJSON available.
// 
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// License
DJSON_ERROR_ERROR_H_
#define RAPIDJSON_ERROR_ERROR_H_

#include "../rapidjson.h"

#ifdef __clang__
RAPIDJSON_DIAG_PUSH
RAPIDJSON_DIAG_OFF(padded)
#endif

/*! \file error.h */

/*! \defgroup RAPIDJSON_
apidJSON error handling */

///////////////////////////////////////////////////////////////////////////////
// RAPIDJSON_ERROR_CHARTYPE

//! Character type of error messages.
/*! \ingroup RAPIDJSON_ER
JSON-Immutable-XS ( A/AD/ADDICT/JSON-Immutable-XS-0.1.3.tar.gz, ADDICT, 2020; MetaCPAN )
JSON-Immutable-XS/external/rapidjson/writer.h ( view source; MetaCPAN )
// Tencent is pleased to support the open source community by making RapidJSON available.
// 
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// License
fic language governing permissions and limitations under the License.

#ifndef RAPIDJSON_WRITER_H_
#define RAPIDJSON_WRITER_H_

#include "stream.h"
#include "internal/meta.h"
#include "internal/stack.


#if defined(RAPIDJSON_SIMD) && defined(_MSC_VER)
#include <intrin.h>
#pragma intrinsic(_BitScanForward)
#endif
#ifdef RAPIDJSON_SSE42
#include <nmmintrin.h>
#elif defined(RAPIDJSON_SSE2)
#include <e
JSON-Immutable-XS ( A/AD/ADDICT/JSON-Immutable-XS-0.1.3.tar.gz, ADDICT, 2020; MetaCPAN )
JSON-Immutable-XS/external/rapidjson/prettywriter.h ( view source; MetaCPAN )
// Tencent is pleased to support the open source community by making RapidJSON available.
// 
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// License
JSON_PRETTYWRITER_H_
#define RAPIDJSON_PRETTYWRITER_H_

#include "writer.h"

#ifdef __GNUC__
RAPIDJSON_DIAG_PUSH
RAPIDJSON_DIAG_OFF(effc++)
#endif

#if defined(__clang__)
RAPIDJSON_DIAG_PUSH
RAPIDJSON
_DIAG_OFF(c++98-compat)
#endif

RAPIDJSON_NAMESPACE_BEGIN

//! Combination of PrettyWriter format flags.
/*! \see PrettyWriter::SetFormatOptions
 */
enum PrettyFormatOptions {
    kFormatDefault = 0, 
JSON-Immutable-XS ( A/AD/ADDICT/JSON-Immutable-XS-0.1.3.tar.gz, ADDICT, 2020; MetaCPAN )
JSON-Immutable-XS/XS.xs ( view source; MetaCPAN )
ict.h>
#include <panda/string.h>

using namespace json_tree;
using namespace xs;
using panda::string;

MODULE = JSON::Immutable::XS      PACKAGE = JSON::Immutable::XS
PROTOTYPES: DISABLE

Dict * new(S
JSON-Immutable-XS ( A/AD/ADDICT/JSON-Immutable-XS-0.1.3.tar.gz, ADDICT, 2020; MetaCPAN )
JSON-Immutable-XS/external/rapidjson/reader.h ( view source; MetaCPAN )
// Tencent is pleased to support the open source community by making RapidJSON available.
//
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// Licensed
fic language governing permissions and limitations under the License.

#ifndef RAPIDJSON_READER_H_
#define RAPIDJSON_READER_H_

/*! \file reader.h */

#include "allocators.h"
#include "stream.h"
#incl


#if defined(RAPIDJSON_SIMD) && defined(_MSC_VER)
#include <intrin.h>
#pragma intrinsic(_BitScanForward)
#endif
#ifdef RAPIDJSON_SSE42
#include <nmmintrin.h>
#elif defined(RAPIDJSON_SSE2)
#include <e
JSON-Immutable-XS ( A/AD/ADDICT/JSON-Immutable-XS-0.1.3.tar.gz, ADDICT, 2020; MetaCPAN )
JSON-Immutable-XS/external/rapidjson/pointer.h ( view source; MetaCPAN )
// Tencent is pleased to support the open source community by making RapidJSON available.
// 
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// License
DJSON_POINTER_H_
#define RAPIDJSON_POINTER_H_

#include "document.h"
#include "internal/itoa.h"

#ifdef __clang__
RAPIDJSON_DIAG_PUSH
RAPIDJSON_DIAG_OFF(switch-enum)
#endif

#ifdef _MSC_VER
RAPIDJSON_
DIAG_PUSH
RAPIDJSON_DIAG_OFF(4512) // assignment operator could not be generated
#endif

RAPIDJSON_NAMESPACE_BEGIN

static const SizeType kPointerInvalidIndex = ~SizeType(0);  //!< Represents an inval
JSON-Immutable-XS ( A/AD/ADDICT/JSON-Immutable-XS-0.1.3.tar.gz, ADDICT, 2020; MetaCPAN )
JSON-Immutable-XS/external/rapidjson/rapidjson.h ( view source; MetaCPAN )
// Tencent is pleased to support the open source community by making RapidJSON available.
// 
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// License
PIDJSON_RAPIDJSON_H_
#define RAPIDJSON_RAPIDJSON_H_

/*!\file rapidjson.h
    \brief common definitions and configuration
    
    \see RAPIDJSON_CONFIG
 */

/*! \defgroup RAPIDJSON_CONFIG RapidJSON c
onfiguration
    \brief Configuration macros for library features

    Some RapidJSON features are configurable to adapt the library to a wide
    variety of platforms, environments and usage scenario
JSON-Immutable-XS ( A/AD/ADDICT/JSON-Immutable-XS-0.1.3.tar.gz, ADDICT, 2020; MetaCPAN )
JSON-Immutable-XS/src/xs/dict.h ( view source; MetaCPAN )
space json_tree;

namespace xs {
    template <class T> struct Typemap<Dict*, T> : TypemapObject<Dict*, T, ObjectTypePtr, ObjectStorageMG> {
        static panda::string package () { return "JSON::Imm
te <class T> struct Typemap<const Dict*, T> : TypemapObject<const Dict*, T, ObjectTypeForeignPtr, ObjectStorageMG> {
        static panda::string package () { return "JSON::Immutable::XS"; }
    };
}
JSON-Immutable-XS ( A/AD/ADDICT/JSON-Immutable-XS-0.1.3.tar.gz, ADDICT, 2020; MetaCPAN )
JSON-Immutable-XS/external/rapidjson/encodedstream.h ( view source; MetaCPAN )
// Tencent is pleased to support the open source community by making RapidJSON available.
// 
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// License
e License.

#ifndef RAPIDJSON_ENCODEDSTREAM_H_
#define RAPIDJSON_ENCODEDSTREAM_H_

#include "stream.h"
#include "memorystream.h"

#ifdef __GNUC__
RAPIDJSON_DIAG_PUSH
RAPIDJSON_DIAG_OFF(effc++)
#endif

#ifdef __clang__
RAPIDJSON_DIAG_PUSH
RAPIDJSON_DIAG_OFF(padded)
#endif

RAPIDJSON_NAMESPACE_BEGIN

//! Input byte stream wrapper with a statically bound encoding.
/*!
    \tparam Encoding The interpr
JSON-Immutable-XS ( A/AD/ADDICT/JSON-Immutable-XS-0.1.3.tar.gz, ADDICT, 2020; MetaCPAN )
JSON-Immutable-XS/external/rapidjson/schema.h ( view source; MetaCPAN )
// Tencent is pleased to support the open source community by making RapidJSON available->
// 
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip-> All rights reserved->
//
// Lice
ef RAPIDJSON_SCHEMA_H_
#define RAPIDJSON_SCHEMA_H_

#include "document.h"
#include "pointer.h"
#include <cmath> // abs, floor

#if !defined(RAPIDJSON_SCHEMA_USE_INTERNALREGEX)
#define RAPIDJSON_SCHEMA
_USE_INTERNALREGEX 1
#else
#define RAPIDJSON_SCHEMA_USE_INTERNALREGEX 0
#endif

#if !RAPIDJSON_SCHEMA_USE_INTERNALREGEX && !defined(RAPIDJSON_SCHEMA_USE_STDREGEX) && (__cplusplus >=201103L || (defined
JSON-Immutable-XS ( A/AD/ADDICT/JSON-Immutable-XS-0.1.3.tar.gz, ADDICT, 2020; MetaCPAN )
JSON-Immutable-XS/external/rapidjson/document.h ( view source; MetaCPAN )
// Tencent is pleased to support the open source community by making RapidJSON available.
// 
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// License
ic language governing permissions and limitations under the License.

#ifndef RAPIDJSON_DOCUMENT_H_
#define RAPIDJSON_DOCUMENT_H_

/*! \file document.h */

#include "reader.h"
#include "internal/meta.
w>      // placement new
#include <limits>

RAPIDJSON_DIAG_PUSH
#ifdef _MSC_VER
RAPIDJSON_DIAG_OFF(4127) // conditional expression is constant
RAPIDJSON_DIAG_OFF(4244) // conversion from kXxxFlags to 
JSON-Immutable-XS ( A/AD/ADDICT/JSON-Immutable-XS-0.1.3.tar.gz, ADDICT, 2020; MetaCPAN )
JSON-Immutable-XS/XS.pod ( view source; MetaCPAN )
Name
    JSON::Immutable::XS

DESCRIPTION
    Fast and simple abstract node-tree based storage with JSON support. Usefull for reading JSON configs, keeping it in the memory and don't worrying about mu
.

    It use RapidJSON as JSON parser. https://rapidjson.org/

SYNOPSIS
    use JSON::Immutable::XS;

    # you can provide this variable to XS and use it there
    my $dict = JSON::Immutable::XS->ne
w('example/dict.json');

    # get subnode by path ( any node is JSON::Immutable::XS ref)
    my $node = $dict->get( 'path', 2, 'node'); # similar to ->{path}[2]{node}
    # get() returns undef on not

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.