Skip to content

Field data conversion #6

@ts5746

Description

@ts5746

Description

Provide conversion for common Java data formats to Whiteflag field format.

Rationale

Whiteflag processes all data as strings, but data might be available as Java objects (time, geolocation, etc.).

Solution

Provide conversion classes in the org.whiteflag.protocol.util package, which may be used when setting field values.

Specification

When providing field data other than a string, the library tries to convert the provided data.

Affected components

To be determined.

Alternatives

The alternative is not doing any conversion. This means that other developers have to do it themselves. That makes Whiteflag less easy to integrate and/or may result in conversion errors in other implementations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestinteroperabilityImpacts interoperability and backwards compatibility

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions