StateScriptThis is a Project for Serializing Object
It Serializes Objects into a Script which is Known as StateScript as it describes State of an Object
Learn About State ScriptState Script Allows user to serialize class of any type. Classes which have not been marked as serializable and to edit their source is not possible it is easy to serialize such classes by providing an interface which describes what should be serialized
An Example Of This Script is Serializing a Class e.g.
Public Class ToBeTester
Public Field1 = "String1"
Public Field2 = "String2"
Public Property Prop1 = 999
Public Num = Me
End Class
When an Instance like
Is serialized or compiled it looks like
ToBeTester{
.Field1 = System.String{
U3RyaW5nMQ==}
.Field2 = System.String{
U3RyaW5nMg==}
._Prop1 = System.Int32{
999}
.Num = #0
}
This Not Only Serializes or Compiles but Decompiles Script to Instance of Object
The Syntax of State Script is very Simple
Its Characters of Syntax can easily be modified and the same object can be serialized as
StateScript.Testing+ToBeTester<
-Field1 ! System.String<
U3RyaW5nMQ==>
-Field2 ! System.String<
U3RyaW5nMg==>
-_Prop1 ! System.Int32<
999>
-Num ! *0
>