nikhilk/scriptsharp — Issue #162: Simpler attributes for imported classes
Author: volkanceylan
Created: 2012-03-08 09:52:15+00:00
State: open

I am extensively using imported classes for calling JSON based web services. Having to write [PreserveCase] before all fields is overkill and one may forget it. Could we write [PreserveCases] before class definition and it applies to all members automatically?

Also for a simple imported class one has to write
[Imported, IgnoreNamespace, ScriptName("Object")].
public class SomeImportedObject {....

Could we just write
[JsonObject]
public class SomeImportedObject {....