Search

December 06
General »
...myProblematicClass = new MyProblematicClass();
    myClass.serialize;
    myOtherClass.serialize;
    mySpecialClass.serialize;
    myProblematicClass.serialize; // BOOM!
}
```

But it should...
December 06
General »
...interface ISerialize {
    void serialize();
}

struct thing{ }

class SerializableRoot {
    void serialize(this T)() {
        // serialize here, possibly...
December 06
General »
...reflection.

```d
interface ISerialize {
	void serialize();
}

class SerializableRoot {
	void serialize() {
		// serialize here
	}
}

class MyType : SerializableRoot...
December 06
General »
...serialize();

	protected void serialize_(T:Parent)(T self) {
		
	}
}

class Child : Parent {
	void serialize() {
		super.serialize...
December 05
General »
...type (be it one that has a serialize and deseralize function that handles the variable...
December 04
General »
```
void serialize(byte[] o, string s){}

struct MyDto
{
	struct SerializerAspect
	{
		static void serialize(byte[] o...
December 03
General »
...overload set? You could call the right `serialize` directly if one exists in the type...
December 03
General »
...void[], A)
{
    import std.stdio;
    writeln("A.serialize");
}

---
module b;

struct B
{
}

void serialise(void...
October 06
General »
...building a library to represent SARIF and serialize it into JSON, following my mentor’s suggestion...
September 13
Announce »
...definition that will be used to transparently serialize regular D calls to send them over...
« First   ‹ Prev
1 2
Next ›   Last »