Skip to content

Commit

Permalink
Update src/OrchardCore/OrchardCore.Abstractions/Json/Dynamic/JsonDyna…
Browse files Browse the repository at this point in the history
…micObject.cs

Co-authored-by: Hisham Bin Ateya <[email protected]>
  • Loading branch information
giannik and hishamco authored Jun 11, 2024
1 parent 639282a commit a06759a
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,8 @@ public void SetValue(string key, object? value)
return;
}
}
public override string ToString()
{
return _jsonObject.ToJsonString();
}
public override string ToString() => _jsonObject.ToJsonString();

public static implicit operator JsonObject(JsonDynamicObject value) => value._jsonObject;

public static implicit operator JsonDynamicObject(JsonObject value) => new(value);
Expand Down

0 comments on commit a06759a

Please sign in to comment.