vibe-sdlang 1.0.0-alpha.4

SDLang serialization support for vibe.d


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

vibe.d SDLang serialization

This package provides generic vibe.data.serialization based serialization support for the SDLang data format. It uses sdlang-d to parse and generate the SDLang format.

Build Status

Example:

import vibe.data.sdl : serializeSDL;
import sdlang.ast : Tag;
import std.stdio : writeln;

struct Ticket {
	int id;
	string title;
	string[] tags;
}

void main()
{
	Ticket[] tickets = [
		Ticket(0, "foo", ["defect", "critical"]),
		Ticket(1, "bar", ["enhancement"])
	];

	Tag sdl = serializeSDL(tickets);
	writeln(sdl.toSDLDocument());
}
Authors:
  • Sönke Ludwig
Dependencies:
sdlang-d, vibe-serialization
Versions:
1.0.0-alpha.4 2024-Mar-15
1.0.0-alpha.3 2018-Jul-04
1.0.0-alpha.2 2016-Aug-30
1.0.0-alpha.1 2016-Aug-25
~master 2024-Mar-15
Show all 5 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 175 downloads total

Score:
1.1
Short URL:
vibe-sdlang.dub.pm