Sloyd Documentation
Sloyd AILogin
  • About Sloyd
    • How Sloyd Works
    • AI Prompting in Sloyd
    • Texturing and Painting Sloyd Exports
  • Products
    • API
    • Unity Plugin
    • Unity SDK
Powered by GitBook
On this page
  1. Products
  2. API
  3. API Endpoints

Data Serialization

Last updated 5 months ago

If you requested an API response in binary format, you'll need to deserialize it.

  • Format: Message Pack (Refer: and )

  • You may want to consider a binary format since it:

    • Provides binary serialization which aligns with our predominantly binary output (GLB format and metadata).

    • Demonstrates high performance in serialization and deserialization ().

    • Extensive support across multiple programming environments, beneficial for future cross-platform compatibility (good support for Unity and is supported 50 programming languages and environments, we could also support Unreal and other engines).

    • Notable adoption in industry (e.g., Pinterest, Redis).

The chosen architecture emphasizes minimal complexity while remaining flexible for future additions and extensions. See:

Message Pack Official
C# Implementation
Benchmarks
GitHub - MessagePack-CSharp/MessagePack-CSharp: Extremely Fast MessagePack Serializer for C#(.NET, .NET Core, Unity, Xamarin). / msgpack.org[C#]GitHub
Logo