|
|
| version 1.30, 2014/05/04 01:38:01 | version 1.31, 2014/05/23 02:47:16 |
|---|---|
| Line 369 const String& value_json_string(String:: | Line 369 const String& value_json_string(String:: |
| Value* method=options.methods->get(v.type()); | Value* method=options.methods->get(v.type()); |
| if(!method){ | if(!method){ |
| method=options.methods->first_that<Value*>(based_on, &v); | method=options.methods->first_that<Value*>(based_on, &v); |
| options.methods->put(key, method ? method : VVoid::get()); | options.methods->put(v.type(), method ? method : VVoid::get()); |
| } | } |
| if(method && !method->is_void()) { | if(method && !method->is_void()) { |
| Junction* junction=method->get_junction(); | Junction* junction=method->get_junction(); |