Skip to content

Replace thoas with OTP json #14

Description

@Taure

Nine call sites use thoas: directly (ldf_srv, etsi103120, etsi103707, ldf_message_controller, ldf_receiver_controller, ldf_li_controller, ldf_www_controller) but thoas is declared nowhere in this project. It resolves only because nova 0.16 still pulls it in transitively, and Nova 1.0 drops it. ldf_www_controller:safe_decode/1 already uses json:decode/1, so finish the migration: thoas:encode(X) -> iolist_to_binary(json:encode(X)), {ok, V} = thoas:decode(B) -> V = json:decode(B) (raises instead of returning {error, _}).

Surfaced by the review of #13.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions