Skip to content

Custom json encoder #17

@chulkilee

Description

@chulkilee

Support other json encoder other than jason.

  • Make jason optional dependency
  • Add configuration
    config :metadata_logger, :json_library, Jason
  • Compile error when configuration is not given, and Jason is not available
  • Expect the given module to implement following functions:
    • encode_to_iodata!(input, opts)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions