DataDog / dd-native-appsec-js

Node.js bindings for libddwaf
Apache License 2.0
1 stars 3 forks source link

use toJSON() property when it exists #100

Closed simon-id closed 8 months ago

simon-id commented 8 months ago

What does this PR do?

When converting objects and arrays, if the toJSON() method is present, call it and use it as result