Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quarkiverse/quarkus-fury
A blazingly fast multi-language serialization framework powered by JIT and zero-copy.
https://github.com/quarkiverse/quarkus-fury
fury quarkus-extension serialization
Last synced: about 1 month ago
JSON representation
A blazingly fast multi-language serialization framework powered by JIT and zero-copy.
- Host: GitHub
- URL: https://github.com/quarkiverse/quarkus-fury
- Owner: quarkiverse
- License: apache-2.0
- Created: 2024-10-31T12:13:56.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-01T06:39:16.000Z (about 2 months ago)
- Last Synced: 2024-11-01T07:17:07.360Z (about 2 months ago)
- Topics: fury, quarkus-extension, serialization
- Language: Java
- Homepage: https://docs.quarkiverse.io/quarkus-fury/dev
- Size: 38.1 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Quarkus Fury
[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)
[![Version](https://img.shields.io/maven-central/v/io.quarkiverse.fury/quarkus-fury?logo=apache-maven&style=flat-square)](https://central.sonatype.com/artifact/io.quarkiverse.fury/quarkus-fury-parent)
Quarkus Fury is a Quarkus extension to use [Apache Fury](https://github.com/apache/fury) for serialization.
## Documentation
The documentation for this extension can be found [here](https://docs.quarkiverse.io/quarkus-fury/dev/index.html) while the documentation for the Apache Fury can be found at https://fury.apache.org/.
## Getting Started
```java
import java.util.List;
import java.util.Map;import io.quarkiverse.fury.FurySerialization;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.inject.Inject;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;import org.apache.fury.BaseFury;
@Path("/fury")
@ApplicationScoped
public class FuryResources {
@FurySerialization
public record Foo(int f1, String f2, List f3, Map f4) {
}@Inject
BaseFury fury;@GET
@Path("/record")
public Boolean testSerializeFooRecord() {
Foo foo1 = new Foo(10, "abc", List.of("str1", "str2"), Map.of("k1", 10L, "k2", 20L));
Foo foo2 = (Foo) fury.deserialize(fury.serialize(foo1));
return foo1.equals(foo2);
}
}
```More details about usage can be found [here](https://docs.quarkiverse.io/quarkus-fury/dev/index.html).
## Contributors ✨
Thanks go to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!