We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e5bb0f commit 5f6c934Copy full SHA for 5f6c934
src/WalletFramework.Oid4Vc/Oid4Vp/Models/WalletMetadata.cs
@@ -1,3 +1,4 @@
1
+using Newtonsoft.Json;
2
using Newtonsoft.Json.Linq;
3
4
namespace WalletFramework.Oid4Vc.Oid4Vp.Models;
@@ -47,11 +48,11 @@ public static WalletMetadata CreateDefault()
47
48
49
public string ToJsonString()
50
{
- return new JObject
51
+ return JsonConvert.SerializeObject(new JObject
52
53
[VpFormatsSupportedIdentifier] = JObject.FromObject(VpFormatsSupported),
54
[ClientIdPrefixesSupportedIdentifier] = new JArray {ClientIdPrefixesSupported.Select(x => x.AsString())},
55
[ClientIdSchemesSupportedIdentifier] = new JArray {ClientIdPrefixesSupported.Select(x => x.AsString())},
- }.ToString();
56
+ });
57
}
58
0 commit comments