Skip to main content

Show HN: JSON-Safe Lisp Language https://ift.tt/CtQ4WnX

Show HN: JSON-Safe Lisp Language Relatively simple currently, but figured I'd post for some feedback. I started this project last year but somewhat abandoned it. This feels like something which most likely already exists, but I couldn't find anything at the time I made it. I feel like my write up on the repo is pretty good at explaining the inspiration and purpose of this package; "Let's say you have an API, and you're looking for a method by which you can increase performance of your app via doing transformations of the data directly in the API. In this scenario, you would middleman the API returned data through a Fluxduct parser in order to get the data in the format you would like. An important distinction to be made here is that you are not changing the raw output of your API, but rather defining explicit values which you would like back in the app. These values are much more versatile than a pure API response as well, as they can be compounded with operators and conditionals to return computed values not otherwise returned in your API. Even more, the number of fields is completely up to you! If you only want 3 fields, foo, bar, and baz, on an API endpoint that returns more than just those 3 fields, you can explicitly only request those fields back. As icing on the cake; Fluxduct is made from plain javascript, which allows for implementation either server-side or client-side, on top of this, Fluxduct is JSON-safe, meaning all transformations can exist as JSON, making these transformations able to be stored in most databases without the need for any additional transformations." All criticism is appreciated. https://ift.tt/QbjZdHv July 28, 2022 at 02:38AM

Comments

Popular posts from this blog