Package com.javiergs.cortex4j
Class CortexSampleParser
java.lang.Object
com.javiergs.cortex4j.CortexSampleParser
Converts a Cortex stream notification to a sample without guessing channel layouts.
- Version:
- 1.0 (2026-10-29)
- Author:
- javiergs
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<CortexSample> parse(com.fasterxml.jackson.databind.JsonNode message) Parses a JSON message into a CortexSample.
-
Method Details
-
parse
Parses a JSON message into a CortexSample.- Parameters:
message- the JSON message to parse- Returns:
- an Optional containing the parsed CortexSample, or empty if parsing fails
-