ShadowTrolll
❔ Serialize objects from non-standard format
Hello, I am trying to serialize objects from a non-standard format and dont know how to go about it without it being complete regex or string splitting hell, any tips?
The data is in text files is formatted accordingly (not all properties are always present and sub properties have variable amount of properties and can be nested):
obj_name_1 = {
prop_1 = 129864
prop_2 = hello
prop_3 = {
other_prop = bye
other_prop = 56
}
prop_4 = 69
}
obj_name_2 = ...
Thanks
95 replies