Skip to content

Commit

Permalink
Update website/docs/json.md
Browse files Browse the repository at this point in the history
Co-authored-by: Paweł Prażak <pawelprazak@users.noreply.github.com>
  • Loading branch information
lbialy and pawelprazak authored Apr 8, 2024
1 parent 612aa1a commit 2cc0b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/json.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ s3.BucketPolicyArgs(
For ease of use with Besom Inputs in provider packages interpolator returns an `Output[JsValue]`.

The JSON interpolator is available when using `import besom.json.*` or `import besom.util.JsonInterpolator.*` imports. Interpolator is
completely compile-time type safe and verifies JSON string for correctness by substituting . The only types that can be interpolated are
completely **compile-time type safe** and verifies JSON string for correctness by substituting. The only types that can be interpolated are
`String`, `Int`, `Short`, `Long`, `Float`, `Double`, `JsValue` and `Option` and `Output` of the former (in whatever amount of nesting).
If you need to interpolate a more complex type it's advised to derive a `JsonFormat` for it and convert it to `JsValue`.

0 comments on commit 2cc0b36

Please sign in to comment.