YAZ  5.23.1
marc_read_json.c File Reference

Implements reading of MARC in JSON format. More...

#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <yaz/marcdisp.h>
#include <yaz/json.h>
#include <yaz/yaz-util.h>

Go to the source code of this file.


static void parse_subfields (yaz_marc_t mt, struct json_node *sf, WRBUF wtmp)
static void parse_field (yaz_marc_t mt, struct json_node *p, int indicator_length, WRBUF wtmp)
int yaz_marc_read_json_node (yaz_marc_t mt, struct json_node *n)

Detailed Description

Implements reading of MARC in JSON format.

Definition in file marc_read_json.c.

Function Documentation

static void parse_field ( yaz_marc_t  mt,
struct json_node p,
int  indicator_length,
WRBUF  wtmp 
static void parse_subfields ( yaz_marc_t  mt,
struct json_node sf,
WRBUF  wtmp 
int yaz_marc_read_json_node ( yaz_marc_t  mt,
struct json_node n