mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Added export flag to JSON class.
This commit is contained in:
parent
4c6358ae87
commit
c48aab2e9e
2 changed files with 5 additions and 6 deletions
|
|
@ -329,11 +329,10 @@ public:
|
|||
}
|
||||
else if (v.isObject())
|
||||
{
|
||||
DynamicObject* const object = v.getDynamicObject();
|
||||
|
||||
jassert (object != nullptr); // Only DynamicObjects can be converted to JSON!
|
||||
|
||||
writeObject (out, *object, indentLevel, allOnOneLine);
|
||||
if (DynamicObject* const object = v.getDynamicObject())
|
||||
writeObject (out, *object, indentLevel, allOnOneLine);
|
||||
else
|
||||
jassertfalse; // Only DynamicObjects can be converted to JSON!
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ class File;
|
|||
|
||||
@see var
|
||||
*/
|
||||
class JSON
|
||||
class JUCE_API JSON
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue