Namespace

Jsonrpc – 1.0

A GNOME library to communicate with JSON-RPC based peers

Version3.44.0
AuthorsChristian Hergert
LicenseLGPL-2.1
Websitehttps://gitlab.gnome.org/GNOME/jsonrpc-glib/
Sourcehttps://gitlab.gnome.org/GNOME/jsonrpc-glib/

Build

C headersjsonrpc-glib.h
pkg-config filesjsonrpc-glib-1.0

Dependencies

GLib—2.0 The base type system library
Browse documentation
GObject—2.0 The base type system library
Browse documentation

Additional documentation

Classes

Client

A client for JSON-RPC communication.

since: 3.26

InputStream

since: 1.0

OutputStream

since: 1.0

Server

A server for JSON-RPC communication.

since: 1.0

Structs

MessageAny

since: 1.0

MessageGetBoolean

since: 1.0

MessageGetDict

since: 1.0

MessageGetDouble

since: 1.0

MessageGetInt32

since: 1.0

MessageGetInt64

since: 1.0

MessageGetIter

since: 1.0

MessageGetString

since: 1.0

MessageGetStrv

since: 1.0

MessageGetVariant

since: 1.0

MessageMagic

since: 1.0

MessagePutBoolean

since: 1.0

MessagePutDouble

since: 1.0

MessagePutInt32

since: 1.0

MessagePutInt64

since: 1.0

MessagePutString

since: 1.0

MessagePutStrv

since: 1.0

MessagePutVariant

since: 1.0

Enumerations

ClientError

since: 1.0

Callbacks

ServerHandler

since: 1.0

Functions

message_new

since: 1.0

message_new_array

since: 1.0

message_parse

since: 1.0

message_parse_array

since: 1.0

Function Macros

CHECK_VERSION

Compile-time version checking. Evaluates to TRUE if the version of jsonrpc-glib is greater than the required one.

since: 1.0

DEPRECATED_FOR

since: 1.0

DEPRECATED_IN_3_26_FOR

since: 1.0

DEPRECATED_IN_3_28_FOR

since: 1.0

DEPRECATED_IN_3_30_FOR

since: 1.0

DEPRECATED_IN_3_40_FOR

since: 1.0

DEPRECATED_IN_3_44_FOR

since: 1.0

ENCODE_VERSION

since: 1.0

MESSAGE_NEW

since: 1.0

MESSAGE_NEW_ARRAY

since: 1.0

MESSAGE_PARSE

since: 1.0

MESSAGE_PARSE_ARRAY

since: 1.0

UNAVAILABLE

since: 1.0

Constants

MAJOR_VERSION

Jsonrpc-glib major version component (e.g. 1 if JSONRPC_VERSION is 1.2.3)

since: 1.0

MICRO_VERSION

Jsonrpc-glib micro version component (e.g. 3 if JSONRPC_VERSION is 1.2.3)

since: 1.0

MINOR_VERSION

Jsonrpc-glib minor version component (e.g. 2 if JSONRPC_VERSION is 1.2.3)

since: 1.0

VERSION_S

Jsonrpc-glib version, encoded as a string, useful for printing and concatenation.

since: 1.0