jsonrpc-serializer - A simple library to serialize and deserialize JSON-RPC messages

  •        165

This is a simple library to perform serialization/deserialization of JSON-RPC 2.0 messages. It has full support for Date and Error objects, comforms to the JSON-RPC 2.0 specifications, and allows plugins (in the near future) to extend the library. JSON-RPC 2.0 is transport agnostic, but unfortunately this is not the case for most JSON-RPC modules in the NPM. Thus, when I needed a library to use JSON-RPC 2.0 over hook.io and 0MQ, I ran into a brick wall, and ended up writing this library.

https://github.com/soggie/jsonrpc-serializer

Dependencies:

inherits : ^2.0.3

Tags
Implementation
License
Platform

   




Related Projects

JsonRpc-Cpp

  •    C++

JsonRpc-Cpp is an OpenSource implementation of JSON-RPC protocol in C++. JSON-RPC is a lightweight remote procedure call protocol similar to XML-RPC.

JsonRPC - Simple Json-RPC PHP client/server that just works.

  •    PHP

A simple Json-RPC client/server that just works. Middleware might be used to authenticate and authorize the client. They are executed before each procedure.

python-bitcoinrpc - Python interface to bitcoin's JSON-RPC API

  •    Python

AuthServiceProxy is an improved version of python-jsonrpc.Note: This will only install bitcoinrpc. If you also want to install jsonrpc to preserve backwards compatibility, you have to replace 'bitcoinrpc' with 'jsonrpc' in setup.py and run it again.

XML-RPC for PHP

  •    PHP

A PHP implementation of the XML-RPC web RPC protocol. Extra modules provide support for the JSON and JSONRPC protocols. A javascript version of the library is also available.

stanford-corenlp-python - Python wrapper for Stanford CoreNLP tools v3.4.1

  •    Python

This is a Python wrapper for Stanford University's NLP group's Java-based CoreNLP tools. It can either be imported as a module or run as a JSON-RPC server. Because it uses many large trained models (requiring 3GB RAM on 64-bit machines and usually a few minutes loading time), most applications will probably want to run it as a server. It depends on pexpect and includes and uses code from jsonrpc and python-progressbar.


libjson-rpc-cpp - C++ framework for json-rpc (json remote procedure call)

  •    C++

This framework provides cross platform JSON-RPC (remote procedure call) support for C++. It is fully JSON-RPC 2.0 & 1.0 compatible. For Arch Linux there is a PKGBUILD provided in the AUR.

Jil - Fast .NET JSON (De)Serializer, Built On Sigil

  •    CSharp

Jil is a fast JSON (de)serializer, built on Sigil with a number of somewhat crazy optimization tricks.

JSON Tiny Serializer dedicated to output JavaScript string from C# object

  •    CSharp

This C# JSon Serializer is dedicated to output JavaScript string from .Net managed object. The code is oriented performance and running more than twice fast as the standard .Net 4 JavaScriptSerializer. Recursive Check and Size limit are implemented.

api - Promise and RxJS APIs around Polkadot and any Substrate-based chain RPC calls

  •    TypeScript

This library provides a clean wrapper around all the methods exposed by a Polkadot/Substrate network client and defines all the types exposed by a node. For complete documentation around the classes, interfaces and their use, visit the documentation portal. If you are an existing user, please be sure to track the CHANGELOG and UPGRADING guides when changing versions.

Utf8Json - Definitely Fastest and Zero Allocation JSON Serializer for C#(NET,

  •    CSharp

Definitely Fastest and Zero Allocation JSON Serializer for C#(.NET, .NET Core, Unity and Xamarin), this serializer write/read directly to UTF8 binary so boostup performance. And I adopt the same architecture as the fastest binary serializer, MessagePack for C# that I've developed.This benchmark is convert object to UTF8 and UTF8 to object benchmark. It is not to string(.NET UTF16), so Jil, NetJSON and Json.NET contains additional UTF8.GetBytes/UTF8.GetString call. Definitely means does not exists encoding/decoding cost. Benchmark code is in sandbox/PerfBenchmark by BenchmarkDotNet.

easyjson - Fast JSON serializer for golang.

  •    Go

Package easyjson provides a fast and easy way to marshal/unmarshal Go structs to/from JSON without the use of reflection. In performance tests, easyjson outperforms the standard encoding/json package by a factor of 4-5x, and other JSON encoding packages by a factor of 2-3x. easyjson aims to keep generated Go code simple enough so that it can be easily optimized or fixed. Another goal is to provide users with the ability to customize the generated code by providing options not available with the standard encoding/json package, such as generating "snake_case" names or enabling omitempty behavior by default.

JSON Object Serializer .Net 1.1

  •    

JSON serializer is used to created javascript object notation strings. It was written in the .NET 1.1 framework, and has capabilities of serializing child objects.

jsonapi-serializer - A Node.js framework agnostic library for (de)serializing your data to JSON API

  •    Javascript

A Node.js framework agnostic library for (de)serializing your data to JSON API (1.0 compliant). Calling the serialize method on the returned object will serialize your data (object or array) to a compliant JSONAPI document.

jquery.terminal - jQuery Terminal Emulator

  •    Javascript

jQuery Terminal Emulator is a plugin for creating command line interpreters in your applications. It can automatically call JSON-RPC service when a user types commands or you can provide you own function in which you can parse user commands. It's ideal if you want to provide additional functionality for power users. It can also be used to debug your application. You can create an interpreter for your JSON-RPC service with one line of code (just use url as first argument).

hjson-js - Hjson for JavaScript

  •    Javascript

JSON is easy for humans to read and write... in theory. In practice JSON gives us plenty of opportunities to make mistakes without even realizing it. Hjson is a syntax extension to JSON. It's NOT a proposal to replace JSON or to incorporate it into the JSON spec itself. It's intended to be used like a user interface for humans, to read and edit before passing the JSON data to the machine.

fullserializer - A robust JSON serialization framework that just works with support for all major Unity export platforms

  •    CSharp

Please see #154. Full Serializer is an easy to use and robust JSON serializer that just works. It'll serialize pretty much anything you can throw at it and work on every major Unity platform, including consoles. Full Serializer doesn't use exceptions, so you can activate more stripping options on iOS.

fastjson - Fast JSON Processor

  •    Java

Fastjson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Fastjson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of.

rust-bitcoin - Rust Bitcoin library

  •    Rust

Library with support for de/serialization, parsing and executing on data structures and network messages related to Bitcoin and other blockchain-based currencies. For JSONRPC interaction with Bitcoin Core, it is recommended to use rust-jsonrpc which uses the underlying strason library which parses decimal numbers as strings, preventing precision errors.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.