nomoixyz / vulcan

Development framework for Foundry projects
https://nomoixyz.github.io/vulcan/
MIT License
285 stars 19 forks source link

Add .json() to strings module #237

Closed vdrg closed 11 months ago

vdrg commented 11 months ago

We could add a .json or .toJson function to the strings module, which is simpler than having to do json.create(val) (these functions should also return a JsonResult).

gnkz commented 11 months ago

what about parseJson? This would be in line with the other methods that parse string values to other types

vdrg commented 11 months ago

Works too