mcorest_api_json_read_i64

Read a numeric JSON value and convert it to a 64 bit integer.

For an overview see page mcorest_api_json_read_*

Prototype

    MCO_RET mcorest_api_json_read_i64( mcorest_api_json_read_ctx_t *ctx, mco_int8 *val );

Arguments

ctx
Pointer to the JSON read context structure.
val
The address of a 64 bit integer.

Description

This function reads a numeric JSON value and converts it to a 64 bit integer. It is a convenience wrapper for mcorest_api_json_read_numeric() and mcorest_api_json_numeric_as_i64().

Return Codes

MCO_S_OK = 0
Success.
MCO_E_REST_*
Any of the Web Services Error Codes.

Files

Header file:
mcorestapi.h
Source file:
jsonrd.c
Library:
libmcorest.a