JMESPath is a query language for JSON. WIth it you can script searching large JSON datasets and transform the results.A search can be as simple as a single field name. result
would return the object attached to the result
field at the top level of a JSON file. This can be specialized to return an object inside result
by added a dot and then another field name eg result.object
.Queries can index arrays as followsWhich will return the name
field…
Almost 8 weeks back I published a post announcing the release of my Swift based http application framework hummingbird. This post is to update everyone on all the new stuff that has been added since that first post.The web application layer has had a number of changes. Much of these have been API changes as I continue to refine the interfaces. I apologize to anymore who might have been using the framework and having to fix up their code on…
Along with Hummingbird, my web application framework, comes HummingbirdLambda. This allows you to take your Hummingbird application and run it on an AWS Lambda with API Gateway as an interface.As long as all the services your application uses are accessible from AWS Lambda and your application doesn't have any internal persistent state moving to Lambda should be fairly easy. You should be able to move your application setup, middleware,…
Hey, I wrote a new SwiftNIO based HTTP server framework. What'd you do that for Adam? Well I guess I like making tech, but also I thought there was a gap in the market for something a little more slimline than the "market leader". Yes you guessed it Vapor. I don't think anyone can really consider building a Swift server framework without trying to differentiate themselves from Vapor.Welcome to Hummingbird. Hummingbird is a lightweight,…
I recently wrote a MQTT client with Swift NIO. You can find it here. This article covers how to create a simple chat client using said library.For those who don't know MQTT (Message Queuing Telemetry Transport) is a lightweight publish/subscribe messaging protocol used extensively in IoT (Internet of Things) technologies. The MQTT protocol defines two types of network entities: a message broker and a client. The broker receives all the messages from the…