package com.example.demo;
import io.reactivex.Observable;
import org.apache.catalina.LifecycleException;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import java.io.IOException;
@SpringBootApplication
public class DemoApplication {
public static void main(String[] args) throws IOException, LifecycleException {
//SpringApplication.run(DemoApplication.class, args);
DemoApplication demo = new DemoApplication();
demo.JsonRead("SampleRq.json");
}
public void emit() {
Observable.just("Hello", "RxJava :2.2.21!!")
.subscribe(System.out::println);
}
public void JsonRead(String FileName)
{
//JsonRead
System.out.println(FileName);
}
}