Skip to content

About

splits json objects out of a stream

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

json-stream-split

Simple library that will split json objects out of a io.reader

It was developed to handle processing of aws firehose s3 objects where record delimiter was not set.

Usage

package main

import (
    os

    github.com/nodefortytwo/json-stream-split
)

func main(){
    reader, err := os.Open("someHugeFile")
    if err != nil {
        panic(err)  
    }
    
    events, err := jsonstreamsplit.Split(reader)
    ...

}

About

splits json objects out of a stream

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages