Group
Extension

Matches 4

BSON-XS ( M/MO/MONGODB/BSON-XS-v0.8.4.tar.gz, MONGODB, 2020; MetaCPAN )
BSON-XS/xs/XS.xs ( view source; MetaCPAN )
     * JSON::PP::Boolean so it is listed at the end for compatibility
       * with old versions of it.  Old versions of Cpanel::JSON::XS
       * similarly have their own type, but now use JSON::PP::
   strEQ(obj_type, "JSON::XS::Boolean") ||
          strEQ(obj_type, "JSON::PP::Boolean") ||
          strEQ(obj_type, "JSON::Tiny::_Bool") ||
          strEQ(obj_type, "Mojo::JSON::_Bool") ||
       
   strEQ(obj_type, "Cpanel::JSON::XS::Boolean") ||
          strEQ(obj_type, "Types::Serialiser::Boolean")
        ) {
        bson_append_bool(bson, key, -1, SvIV(SvRV(sv)));
      }
      else if (s
BSON-XS ( M/MO/MONGODB/BSON-XS-v0.8.4.tar.gz, MONGODB, 2020; MetaCPAN )
BSON-XS/bson/bson.h ( view source; MetaCPAN )
void);


bson_t *
bson_new_from_json (const uint8_t *data,
                    ssize_t        len,
                    bson_error_t  *error);


bool
bson_init_from_json (bson_t        *bson,
         
valid_type);


/**
 * bson_as_json:
 * @bson: A bson_t.
 * @length: A location for the string length, or NULL.
 *
 * Creates a new string containing @bson in extended JSON format. The caller
 * is res
ference/mongodb-extended-json/ for
 * more information on extended JSON.
 *
 * Returns: A newly allocated string that should be freed with bson_free().
 */
char *
bson_as_json (const bson_t *bson,
   
BSON-XS ( M/MO/MONGODB/BSON-XS-v0.8.4.tar.gz, MONGODB, 2020; MetaCPAN )
BSON-XS/bson/bson-error.h ( view source; MetaCPAN )
ompat.h"
#include "bson-macros.h"
#include "bson-types.h"


BSON_BEGIN_DECLS


#define BSON_ERROR_JSON   1
#define BSON_ERROR_READER 2


void  bson_set_error  (bson_error_t *error,
                   
BSON-XS ( M/MO/MONGODB/BSON-XS-v0.8.4.tar.gz, MONGODB, 2020; MetaCPAN )
BSON-XS/bson/bson-utf8.h ( view source; MetaCPAN )
                                bool            allow_null);
char           *bson_utf8_escape_for_json (const char     *utf8,
                                           ssize_t         utf8_len);
bson

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