Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
BSON_JSON_READER_READ(3)	    libbson	      BSON_JSON_READER_READ(3)

SYNOPSIS
	  int
	  bson_json_reader_read	(bson_json_reader_t *reader,
				 bson_t	*bson,
				 bson_error_t *error);

PARAMETERS
        reader: A bson_json_reader_t.

        bson: A bson_t.

        error:	A bson_error_t.

DESCRIPTION
       Reads the next BSON document from the underlying	JSON source.

ERRORS
       Errors are propagated via the error parameter.

RETURNS
       1  if  successful  and  data  was read. 0 if successful and no data was
       read. -1	if there was an	error.

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 2025	      BSON_JSON_READER_READ(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=bson_json_reader_read&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help