]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove '&' from json
authorAlan T. DeKok <aland@freeradius.org>
Thu, 6 Mar 2025 20:15:23 +0000 (15:15 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 6 Mar 2025 21:12:50 +0000 (16:12 -0500)
but not from the function calls, because we need it for now

raddb/mods-available/json

index fcb7f246157b073863f0ba07f1468da5435e5b6b..fff4173496da62e82176ba9b04228f7888a1d1fd 100644 (file)
@@ -68,8 +68,8 @@
 #  [source, unlang]
 #  ----
 #  map json "%rest(GET http://example.org/api/user/%{User-Name})" {
-#    &Foo            := '$.account number'
-#    &Group          += '$.groups.*'
+#    Foo            := '$.account number'
+#    Group          += '$.groups.*'
 #  }
 #  ----
 #
@@ -176,7 +176,7 @@ json {
 #  ----
 #  string payload
 #  payload := '$.my.json.payload[1]'
-#  &reply.Reply-Message := "Validation of %{payload} is %json.jpath_validate($.my.json.payload[1])"
+#  reply.Reply-Message := "Validation of %{payload} is %json.jpath_validate($.my.json.payload[1])"
 #  ----
 #
 #  .Output
@@ -196,8 +196,8 @@ json {
 #  [source,unlang]
 #  ----
 #  string path
-#  &path := "caipirinha/gelada"
-#  &reply.Reply-Message := "The string %{path} should be %json.quote(%{path}) to be a valid JSON string."
+#  path := "caipirinha/gelada"
+#  reply.Reply-Message := "The string %{path} should be %json.quote(%{path}) to be a valid JSON string."
 #  ----
 #
 #  .Output