Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filterx: add format_json() #4871

Merged
merged 11 commits into from
Apr 9, 2024
Merged

Commits on Apr 3, 2024

  1. filterx: store leading NULL in message-value new without len

    Some function calls on the stored value benefit of having the
    NULL character at the end of the string, like type cast to int
    or double.
    
    Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
    alltilla committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    5821d9d View commit details
    Browse the repository at this point in the history
  2. filterx: add get_type() and get_value() for message_value

    Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
    alltilla committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    3b51477 View commit details
    Browse the repository at this point in the history
  3. filterx: add unwrap for double and bool

    Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
    alltilla committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    f42ae5f View commit details
    Browse the repository at this point in the history
  4. filterx: do not truncate in json marshal

    Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
    alltilla committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    5304f65 View commit details
    Browse the repository at this point in the history
  5. filterx: add marshal_append() function

    Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
    alltilla committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    e571bdd View commit details
    Browse the repository at this point in the history
  6. filterx: add iter() function to dict interface

    Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
    alltilla committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    59dd2b4 View commit details
    Browse the repository at this point in the history
  7. otel: implement iter() for kvlist

    Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
    alltilla committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    9d23a9a View commit details
    Browse the repository at this point in the history
  8. filterx: implement iter() for json_object

    Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
    alltilla committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    339d858 View commit details
    Browse the repository at this point in the history
  9. json: add format_json() filterx function

    Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
    alltilla committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    999831c View commit details
    Browse the repository at this point in the history
  10. libtest: add filterx test dict, list and unknown object

    Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
    alltilla committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    1a32315 View commit details
    Browse the repository at this point in the history
  11. json: add unit test for filterx format_json

    Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
    alltilla committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    2c16742 View commit details
    Browse the repository at this point in the history