api

http4k / org.http4k.lens / LensExtractor / invoke

invoke

abstract operator fun invoke(target: IN): OUT

Lens operation to get the value from the target

Exceptions

LensFailure - if the value could not be retrieved from the target (missing/invalid etc)