vibe-sdlang 1.0.0-alpha.1
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.
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());
}
- 1.0.0-alpha.1 released 9 years ago
- vibe-d/vibe-sdl
- mit
- Copyright © 2016, Sönke Ludwig
- Authors:
- Dependencies:
- sdlang-d, vibe-d:data
- Versions:
- 
						
 Show all 5 versions1.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 
- Download Stats:
- 
						- 
								0 downloads today 
- 
								3 downloads this week 
- 
								7 downloads this month 
- 
								228 downloads total 
 
- 
								
- Score:
- 1.0
- Short URL:
- vibe-sdlang.dub.pm