[ Version ( since = "2.1.1" ) ]
public unowned string get_string_with_default (string key, string value_default) throws Error
Gets a string from a JSON object.
An error is returned if key is not the correct type.
| this | |
| key |
dictionary key |
| value_default |
value to return if |
|
a string, or null on error |