YAZ  5.25.0
Functions
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.

Functions

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

◆ parse_field()

static void parse_field ( yaz_marc_t  mt,
struct json_node p,
int  indicator_length,
WRBUF  wtmp 
)
static

◆ parse_subfields()

static void parse_subfields ( yaz_marc_t  mt,
struct json_node sf,
WRBUF  wtmp 
)
static

◆ yaz_marc_read_json_node()

int yaz_marc_read_json_node ( yaz_marc_t  mt,
struct json_node n 
)