We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e88fa03 commit 41fae70Copy full SHA for 41fae70
1 file changed
Sources/DataObject/DataObject.swift
@@ -66,6 +66,7 @@ public class DataObject: FuableClass {
66
private init(data: Data) {
67
defer {
68
variables[ObjectVariable.json] = String(data: data, encoding: .utf8)
69
+ add(value: data)
70
}
71
if let json = try? JSONSerialization.jsonObject(with: data,
72
options: .allowFragments) as? [Any] {
@@ -77,7 +78,6 @@ public class DataObject: FuableClass {
77
78
return
79
80
consume(DataObject(json))
- add(value: data)
81
82
83
0 commit comments