rabbah commented on issue #15: More flexibility to parsing and passing JSON 
input/out in Java runtime
URL: 
https://github.com/apache/incubator-openwhisk-runtime-java/issues/15#issuecomment-371187087
 
 
   > I'd try to avoid main(String args[]) if possible. Instead, we could allow 
user to specify a java.util.function.Function implementation as a main class.
   
   @mkouba +1, I assume you also mean there is a a serializer/deserializer from 
`Foo` to JSON object?
   
   Edit: ah never I misread the `getValue`, `setValue`... I mapped that to a 
`Function<T1, T2>` where `T1` and `T2` could be first class types. This create 
serdes overhead but allows for better function abstractions.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to