instance method JSON::State#[]=

self[name] = value[permalink][rdoc][edit]

Set the attribute name to value.