Thanks to visit codestin.com
Credit goes to lib.rs

#v8 #serialization #object #display #value-serializer

v8_valueserializer

A Rust implementation of V8's ValueSerializer and ValueDeserializer

3 releases

new 0.1.2 May 20, 2026
0.1.1 Dec 14, 2023
0.1.0 Nov 6, 2023

#2492 in Encoding

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

55,818 downloads per month
Used in 24 crates (2 directly)

MIT license

130KB
4K SLoC

v8_valueserializer

This module implements the V8 ValueSerializer and ValueDeserializer API in Rust. It can serialize and deserialize any value that can be represented in V8's format.

Additionally this library can generate an eval'able JavaScript representation of the serialized value that can be used for user display, manipulation, or debugging.

In the future this library will also provide a way to serialize and deserialize values to and from JavaScript objects or a structured intermediate in JavaScript via WebAssembly.

Development

To build:

$ cargo build

Dependencies

~5.5MB
~166K SLoC